Export (0) Print
Expand All
Expand Minimize

Document.TablesOfFigures Property

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

Syntax

expression.TablesOfFigures

expression   A variable that represents a Document object.

Remarks

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

Example

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

Visual Basic for Applications
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.

Visual Basic for Applications
Documents("Report.doc").TablesOfFigures(1).Update



Community Additions

ADD
Show:
© 2014 Microsoft