共用方式為


Word) (EndnoteOptions 物件

代表指派給文件中某個範圍或選取範圍內之章節附註的屬性。

註解

使用 RangeSelection 物件的 EndnoteOptions 屬性可傳回 EndnoteOptions 物件。

使用 EndnoteOptions 物件,您可以指定不同的章節附註屬性的文件的不同區域。 例如,您可能想在您的文件的其餘部分他們會顯示為阿拉伯數字時要顯示為小寫羅馬數字的長文件簡介中的章節附註。 下列範例會使用 NumberingRuleNumberStyleStartingNumber 屬性來格式化使用中文件的第一個區段中的章節附註。

Sub BookIntro() 
 Dim rngIntro As Range 
 
 'Sets the range as section one of the active document 
 Set rngIntro = ActiveDocument.Sections(1).Range 
 
 'Formats the EndnoteOptions properties 
 With rngIntro.EndnoteOptions 
 .NumberingRule = wdRestartSection 
 .NumberStyle = wdNoteNumberStyleLowercaseRoman 
 .StartingNumber = 1 
 End With 
End Sub

請參閱

Word 物件模型參考資料

支援和意見反應

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