Field.Next property (Word)

Returns the next object in the collection. Read-only.

Syntax

expression.Next

expression A variable that represents a Field object.

Example

This example updates the fields in the first section in the active document as long as the Next method returns a Field object and the field isn't a FILLIN field.

If ActiveDocument.Sections(1).Range.Fields.Count >= 1 Then 
 Set myField = ActiveDocument.Fields(1) 
 While Not (myField Is Nothing) 
 If myField.Type <> wdFieldFillIn Then myField.Update 
 Set myField = myField.Next 
 Wend 
End If

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.