TablesOfFigures Property
TOC
Collapse the table of content
Expand the table of content

Document.TablesOfFigures Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a TablesOfFigures collection that represents the tables of figures in the specified document. Read-only.

expression .TablesOfFigures

expression A variable that represents a Document object.

For information about returning a single member of a collection, see Returning an Object from a Collection.

This example adds a table of figures at the insertion point in the active document.

Selection.Collapse Direction:=wdCollapseStart 
ActiveDocument.TablesOfFigures.Add Range:=Selection.Range, _ 
 Caption:=wdCaptionFigure

This example updates the contents of the first table of figures in Report.doc.

Documents("Report.doc").TablesOfFigures(1).Update
Show:
© 2016 Microsoft