Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns a Fields object that represents all the fields in the specified text range.
Syntax
expression.Fields
expression A variable that represents a TextRange object.
Return value
Fields
Example
This example makes the first field in the first shape on the first page of the active publication bold.
Sub CountFields()
ActiveDocument.Pages(1).Shapes(1).TextFrame _
.TextRange.Fields(1).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.