다음을 통해 공유


Shape.Duplicate Method (Excel)

Duplicates the object and returns a reference to the new copy.

Syntax

.Duplicate

A variable that represents a Shape object.

Return Value

Shape

Example

This example duplicates embedded chart one on Sheet1 and then selects the copy.

Set dChart = Worksheets("Sheet1").ChartObjects(1).Duplicate 
dChart.Select

참고 항목

개념

Shape Object Members

Shape Object