一組腳 註 物件,代表選取、範圍或文件中的所有腳註。
註解
使用 Footnotes 屬性可傳回 Footnotes 集合。 下列範例會將使用中文件內的所有註腳都變更為章節附註。
ActiveDocument.Footnotes.SwapWithEndnotes
使用 新增 方法將腳註加入腳 註 集合。 下列範例會緊接在選取範圍之後新增註腳。
Selection.Collapse Direction:=wdCollapseEnd
ActiveDocument.Footnotes.Add Range:=Selection.Range , _
Text:="The Willow Tree, (Lone Creek Press, 1996)."
使用腳 註 (索引) ,其中 索引 為索引號,以返回單一 腳註 物件。 索引編號代表選取範圍、 範圍或文件中的註腳的位置。 下面範例紅色將格式套用至選取範圍中第一個註腳。
If Selection.Footnotes.Count >= 1 Then
Selection.Footnotes(1).Reference.Font.ColorIndex = wdRed
End If
注意事項
[!注意事項] 位於文件或章節結尾的註腳視為章節附註,而且都包含在 Endnotes 集合。
方法
| 名稱 |
|---|
| Add |
| Convert |
| Item |
| ResetContinuationNotice |
| ResetContinuationSeparator |
| ResetSeparator |
| SwapWithEndnotes |
屬性
| 名稱 |
|---|
| Application |
| ContinuationNotice |
| ContinuationSeparator |
| Count |
| Creator |
| 位置 |
| NumberingRule |
| NumberStyle |
| Parent |
| Separator |
| StartingNumber |
請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。