Share via


Selection.Copy Method

PowerPoint Developer Reference

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.

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.

Visual Basic for Applications
  Windows(1).Selection.Copy
Windows(2).View.Paste

See Also