Fields.Unlink method (Word)

Replaces all the fields in the Fields collection with their most recent results.

Syntax

expression. Unlink

expression Required. A variable that represents a 'Fields' collection.

Remarks

When you unlink a field, the current result is converted to text or a graphic and can no longer be updated automatically. Note that some fields—such as XE (Index Entry) fields and SEQ (Sequence) fields—cannot be unlinked.

Example

This example updates and unlinks all the fields in the first section in the active document.

With ActiveDocument.Sections(1).Range.Fields 
 .Update 
 .Unlink 
End With

See also

Fields Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.