Selection.Cut Method
Word Developer Reference |
Removes the specified object from the document and moves it to the Clipboard.
Syntax
expression.Cut
expression Required. A variable that represents a Selection object.
Remarks
The contents of the selection are moved to the Clipboard but a collapsed selection remains in the document.
Example
This example deletes the contents of the selection and pastes them into a new document.
Visual Basic for Applications |
---|
|
See Also