TextRange.Cut Method
Publisher Developer Reference |
Deletes the specified object and places it on the Clipboard.
Syntax
expression.Cut
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 deletes shape one and shape two from page one of the active publication, places copies of them on the Clipboard, and then pastes the copies onto page two.
Visual Basic for Applications |
---|
|
This example deletes shape one on page one of the active publication and places a copy of it on the Clipboard.
Visual Basic for Applications |
---|
|
Visual Basic for Applications |
---|
|
This example deletes the text in shape one on page one of the active publication and places a copy of it on the Clipboard.
Visual Basic for Applications |
---|
|
Visual Basic for Applications |
---|
|
See Also