Selection.Copy method (PowerPoint)

Copies the specified object to the Clipboard.

Syntax

expression.Copy

expression A variable that represents a Selection object.

Remarks

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

If the selected content 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 the selection in window one to the Clipboard and then pastes it into the view in window two. If the Clipboard contents cannot be pasted into the view in window two — for example, if you try to paste a shape into slide sorter view — this example fails.

Windows(1).Selection.Copy

Windows(2).View.Paste

See also

Selection 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.