Edytuj

Udostępnij za pośrednictwem


Selection.Paste Method

Definition

Inserts the contents of the Clipboard at the specified selection.

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

Remarks

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