Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Selection.Paste Method (Word)

Published: July 16, 2012

Inserts the contents of the Clipboard at the specified selection.

expression .Paste

expression Required. A variable that represents a Selection object.

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.