Share via


TableOfFigures.UseFields Property

Word Developer Reference

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.

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

See Also