TableOfFigures.TableID property (Word)

Returns or sets a one-letter identifier that is used to build a table of figures from TOC fields. Read/write String.

Syntax

expression. TableID

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

Remarks

This property corresponds to the \f switch for a TOC field. For example, "T" builds a table of figures from TOC fields using the table identifier T.

Example

This example adds a table of figures at the beginning of the active document and then formats the table to compile "B" entries.

Set myRange = ActiveDocument.Range(Start:=0, End:=0) 
Set myTOF = ActiveDocument.TablesOfFigures.Add(Range:=myRange) 
With myTOF 
 .UseFields = True 
 .UseHeadingStyles = False 
 .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.