Footnote Object
Footnotes Footnote Range |
Represents a footnote positioned at the bottom of the page or beneath text. The Footnote object is a member of the Footnotes collection. The Footnotes collection represents the footnotes in a selection, range, or document.
Using the Footnote Object
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
Use the Add method to add a footnote to the Footnotes collection. The following example inserts an automatically numbered footnote immediately after the selection.
Selection.Collapse Direction:=wdCollapseEnd
ActiveDocument.Footnotes.Add Range:=Selection.Range , _
Text:="The Willow Tree, (Lone Creek Press, 1996)."
Remarks
Footnotes positioned at the end of a document or section are considered endnotes and are included in the Endnotes collection.
Properties | Application Property | Creator Property | Index Property | Parent Property | Range Property | Reference Property
Methods | Delete Method
Parent Objects
Child Objects | Range Object
See Also | Endnote Object