TableOfFigures.UseFields property (Word)

True if Table of Contents Entry (TC) fields are used to create a table of figures. Read/write Boolean.

Syntax

expression. UseFields

expression Required. A variable that represents a 'TableOfFigures' collection.

Example

This example adds a table of figures after the selection and formats the table to compile entries with the "B" identifier.

Selection.Collapse Direction:=wdCollapseEnd 
Set myTOF = ActiveDocument.TablesOfFigures _ 
 .Add(Range:=Selection.Range) 
With myTOF 
 .UseFields = True 
 .TableId = "B" 
 .Caption = "" 
End With

See also

TableOfFigures Object

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.