Selection.Paste Method


Inserts the contents of the Clipboard at the specified selection.

 void Paste();
public void Paste ();
abstract member Paste : unit -> unit
Public Sub Paste ()


If you don't want to replace the contents of the selection, use the Collapse(Object) method before using this method.

When this method is used with a Range object, the range expands to include the contents of the Clipboard. When this method is used with a Selection object, the selection doesn't expand to include the Clipboard contents; instead, the selection is positioned after the pasted Clipboard contents.

Applies to