Word) (Document.TablesOfFigures 屬性
會傳回代表指定之文件中的圖表目錄的 TablesOfFigures 集合。 唯讀。
語法
expression。 TablesOfFigures
表達 代表 Document 物件的變數。
註解
如需傳回集合中單一成員的資訊,請參閱 從集合傳回物件。
範例
本範例會在使用中文件的插入點新增圖表目錄。
Selection.Collapse Direction:=wdCollapseStart
ActiveDocument.TablesOfFigures.Add Range:=Selection.Range, _
Caption:=wdCaptionFigure
本範例會更新 Report.doc 中第一個圖表目錄的內容。
Documents("Report.doc").TablesOfFigures(1).Update
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。