Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 737 Bytes

Excel.Shape.Duplicate.md

File metadata and controls

43 lines (25 loc) · 737 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Shape.Duplicate method (Excel)
vbaxl10.chm636076
vbaxl10.chm636076
Excel.Shape.Duplicate
d4e32396-5d9e-2e10-3111-e0ceda52643e
05/14/2019
medium

Shape.Duplicate method (Excel)

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

Syntax

expression.Duplicate

expression 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

[!includeSupport and feedback]