Field.Next property (Publisher)

Returns a Field object that represents the next field in a text range.

Syntax

expression.Next

expression A variable that represents a Field object.

Return value

Field

Example

This example makes the field next to the first field in the specified text range bold. This assumes that there are at least two fields in the specified text range.

Sub GoToNextField() 
 ActiveDocument.Pages(1).Shapes(1).TextFrame.TextRange _ 
 .Fields(1).Next.TextRange.Font.Bold = msoTrue 
End Sub

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.