Range.Paste Method
Word Developer Reference |
Inserts the contents of the Clipboard at the specified range.
Syntax
expression.Paste
expression Required. A variable that represents a Range object.
Remarks
If you don't want to replace the contents of the range, use the Collapse method before using this method.
When you use this method with a Range object, the range expands to include the contents of the Clipboard.
Example
This example copies and pastes the first table in the active document into a new document.
Visual Basic for Applications |
---|
|
This example copies the selection and pastes it at the end of the document.
Visual Basic for Applications |
---|
|
See Also