Document.TablesOfFigures property (Word)
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.
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
See also
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.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro