TextRange.Copy Method
Publisher Developer Reference |
Copies the specified object to the Clipboard.
Syntax
expression.Copy
expression A variable that represents a TextRange object.
Return Value
Nothing
Remarks
Use the Paste method to paste the contents of the Clipboard.
The Copy method can be used on Shape objects, but the Paste method cannot.
Example
This example copies shapes one and two on page one of the active publication to the Clipboard and then pastes the copies onto page two.
Visual Basic for Applications |
---|
|
This example copies shape one on page one of the active publication to the Clipboard.
Visual Basic for Applications |
---|
|
This example copies the text in shape one on page one of the active publication to the Clipboard.
Visual Basic for Applications |
---|
|
See Also