Word) (脚注对象

一个 Footnote 对象的集合,这些对象代表所选内容、区域或文档中的所有脚注。

备注

使用 Footnotes 属性可返回 Footnotes 集合。 以下示例将活动文档中的所有脚注都改成尾注。

ActiveDocument.Footnotes.SwapWithEndnotes

使用 Add 方法将脚注添加到 “脚注 ”集合。 以下示例紧接在所选内容之后添加一个脚注。

Selection.Collapse Direction:=wdCollapseEnd 
ActiveDocument.Footnotes.Add Range:=Selection.Range , _ 
 Text:="The Willow Tree, (Lone Creek Press, 1996)."

使用 脚注 (索引) (其中 index 是索引号)可返回单个 Footnote 对象。 索引号代表选定内容、 范围或文档中脚注的位置。 下面的示例将所选内容中的第一个脚注设置红色。

If Selection.Footnotes.Count >= 1 Then 
 Selection.Footnotes(1).Reference.Font.ColorIndex = wdRed 
End If

注意

[!注释] 脚注位于文档或节的末尾被视为尾注,纳入 尾注 集合。

方法

名称
Add
Convert
Item
ResetContinuationNotice
ResetContinuationSeparator
ResetSeparator
SwapWithEndnotes

属性

名称
Application
ContinuationNotice
ContinuationSeparator
Count
Creator
Location
NumberingRule
NumberStyle
Parent
Separator
StartingNumber

另请参阅

Word 对象模型参考

支持和反馈

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