Word) (ListGallery 物件

代表單一庫清單格式。 ListGallery 物件是 ListGalleries 集合的成員。

註解

每一個 ListGallery 物件都代表一個 項目符號及編號] 對話方塊中的三個索引標籤。

使用 ListGalleries (Index),其中 Index 是 wdBulletGallerywdNumberGallerywdOutlineNumberGallery 傳回一個 ListGallery 物件。

The following example returns the third list format (excluding None) on the Bulleted tab in the Bullets and Numbering dialog box and then applies it to the selection.

Set temp3 = ListGalleries(wdBulletGallery).ListTemplates(3) 
Selection.Range.ListFormat.ApplyListTemplate ListTemplate:= temp3

若要查看指定的清單範本是否包含 Word 內建的格式設定,請使用 Modified 屬性 ListGallery 物件。 若要重設為原始的清單格式的格式設定,請使用 Reset 方法 ListGallery 物件。

方法

名稱
Reset

屬性

名稱
Application
Creator
ListTemplates
Modified
Parent

另請參閱

Word 物件模型參考資料

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應