TablesOfFigures Property Example

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