Shape.Copy method (PowerPoint)

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.

If the shape is not fully downloaded, this method fails and an error occurs. For more information about the Partial Documents, see Work with Partial Documents.

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.

With ActivePresentation

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

    .Slides(2).Shapes.Paste

End With

See also

Shape Object

Work with Partial Documents

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.