Share via


Shape.Copy Method

Copies the specified object to the Clipboard.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Copy
'Usage
Dim instance As Shape

instance.Copy()
void Copy()

Remarks

Use the Paste method to paste the contents of the Clipboard.

Examples

This example copies shapes one and two on slide one in the active presentation to the Clipboard and then pastes the copies onto slide two.

With ActivePresentation

    .Slides(1).Shapes.Range(Array(1, 2)).Copy.Slides(2).Shapes.Paste

End With

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace