Partager via


Selection.Cut Method (Word)

Removes the specified object from the document and moves it to the Clipboard.

Syntax

expression .Cut

expression Required. A variable that represents a Selection object.

Remarks

The contents of the selection are moved to the Clipboard but a collapsed selection remains in the document.

Example

This example deletes the contents of the selection and pastes them into a new document.

If Selection.Type = wdSelectionNormal Then 
 Selection.Cut 
 Documents.Add.Content.Paste 
End If

See Also

Concepts

Selection Object

Selection Object Members