Share via


Shape.Copy Method

PowerPoint Developer Reference

Copies the specified object to the Clipboard.

Syntax

expression.Copy

expression   A variable that represents a Shape object.

Remarks

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

Example

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.

Visual Basic for Applications
  With ActivePresentation
    .Slides(1).Shapes.Range(Array(1, 2)).Copy
    .Slides(2).Shapes.Paste
End With

See Also