Document.Sections 屬性 (Publisher)
會傳回代表指定檔中Section物件集合的Sections物件。 唯讀的 Sections。
語法
運算式。部分
表達 代表 Document 物件的變數。
傳回值
Sections
範例
本範例會將物件變數設定為使用中文件的 Sections 物件並加入新區段開始在出版物的第二頁。 這個範例假設在出版物中至少兩個頁面。
Dim objSections As Sections
Set objSections = ActiveDocument.Sections
objSections.Add StartPageIndex:=2
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。