Footnotes object (Word)
A collection of Footnote objects that represent all the footnotes in a selection, range, or document.
Remarks
Use the Footnotes property to return the Footnotes collection. The following example changes all of the footnotes in the active document to endnotes.
ActiveDocument.Footnotes.SwapWithEndnotes
Use the Add method to add a footnote to the Footnotes collection. The following example adds a footnote immediately after the selection.
Selection.Collapse Direction:=wdCollapseEnd
ActiveDocument.Footnotes.Add Range:=Selection.Range , _
Text:="The Willow Tree, (Lone Creek Press, 1996)."
Use Footnotes (index), where index is the index number, to return a single Footnote object. The index number represents the position of the footnote in the selection, range, or document. The following example applies red formatting to the first footnote in the selection.
If Selection.Footnotes.Count >= 1 Then
Selection.Footnotes(1).Reference.Font.ColorIndex = wdRed
End If
Note
Footnotes positioned at the end of a document or section are considered endnotes and are included in the Endnotes collection.
Methods
Name |
---|
Add |
Convert |
Item |
ResetContinuationNotice |
ResetContinuationSeparator |
ResetSeparator |
SwapWithEndnotes |
Properties
Name |
---|
Application |
ContinuationNotice |
ContinuationSeparator |
Count |
Creator |
Location |
NumberingRule |
NumberStyle |
Parent |
Separator |
StartingNumber |
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.