MailMergeField.Cut Method

Word Developer Reference

Removes the specified mail merge field from the document and moves it to the Clipboard.

Syntax

expression.Cut

expression   Required. A variable that represents a MailMergeField object.

Example

This example deletes the first field in the active document and pastes the field at the insertion point.

Visual Basic for Applications
  If ActiveDocument.Fields.Count >= 1 Then
    ActiveDocument.Fields(1).Cut
    Selection.Collapse Direction:=wdCollapseEnd
    Selection.Paste
End If

See Also