EndnoteOptions 对象 (Word)

代表指定给文档中尾注的某范围或所选内容的属性。

备注

使用的 范围 或 所选 对象的 EndnoteOptions 属性返回一个 EndnoteOptions 对象。

使用 EndnoteOptions 对象,您可以对一个文档的不同区域分配不同的尾注属性。 例如,您可以引入了小写罗马数字显示,而文档的其余部分中显示的阿拉伯数字为一个长文档中的尾注。 下面的示例使用 NumberingRule 、 从 和 页码 属性设置活动文档第一节中的尾注的格式。

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 支持和反馈,获取有关如何接收支持和提供反馈的指南。