Selection.Paste Method (Word)

Inserts the contents of the Clipboard at the specified selection.

Syntax

expression. Paste

expression Required. A variable that represents a 'Selection' object.

Remarks

Using this method replaces the contents of the current selection. If you don't want to replace the contents of the selection, 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. When you use this method with a Selection object, the selection does not expand to include the Clipboard contents; instead, the selection is positioned after the pasted Clipboard contents.

Example

This example copies the first paragraph in the document and pastes it at the insertion point.

ActiveDocument.Paragraphs(1).Range.Copy 
Selection.Collapse Direction:=wdCollapseStart 
Selection.Paste

See also

Selection Object