TextRange.Copy method (PowerPoint)

Copies the specified object to the Clipboard.

Syntax

expression.Copy

expression A variable that represents a TextRange object.

Remarks

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

Example

This example copies the text in shape one on slide one in the active presentation to the Clipboard.

ActivePresentation.Slides(1).Shapes(1).TextFrame.TextRange.Copy

See also

TextRange Object

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.