Fields.Unlink method (Publisher)

Replaces the specified field or Fields collection with their most recent results.

Syntax

expression.Unlink

expression A variable that represents a Fields object.

Return value

Nothing

Remarks

When you unlink a field, its current result is converted to text or a graphic and can no longer be updated automatically.

Example

This example unlinks the first field in shape one on the first page of the active publication.

ActiveDocument.Pages(1).Shapes(1) _ 
 .TextFrame.TextRange.Fields(1).Unlink

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.