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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for