Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 893 Bytes

Publisher.Field.Next.md

File metadata and controls

43 lines (27 loc) · 893 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Field.Next property (Publisher)
vbapb10.chm6094854
vbapb10.chm6094854
Publisher.Field.Next
a8f0a246-c55e-715e-3f97-a2f08c383e87
06/07/2019
medium

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

[!includeSupport and feedback]