FootnoteOptions 对象 (Word)

代表分配给文档中脚注的范围或所选内容的属性。

备注

使用的 范围 或 所选内容 的对象返回一个 FootnoteOptions 对象。 使用 FootnoteOptions 对象,您可以对文档的不同区域分配不同的脚注属性。 例如,您可以引入以小写字母显示,而文档的其余部分显示为星号一篇长文档中的脚注。 下面的示例使用 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.FootnoteOptions 
 .NumberingRule = wdRestartPage 
 .NumberStyle = wdNoteNumberStyleLowercaseLetter 
 .StartingNumber = 1 
 End With 
End Sub

另请参阅

Word 对象模型参考

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。