Class Footnotes (Word VBA)
A collection of Footnote objects that represent all the footnotes in a selection, range, or document.
The classes Document, Range and Selection. give access to class Footnotes
Dim ftns as Footnotes
Set ftns = ActiveDocument.Range.Footnotes
For Each
Here is an example of processing the Footnotes items in a collection.
Dim ftn As Footnote
For Each ftn In ActiveDocument.Range.Footnotes
Next ftn
Methods
Add - Returns a Footnote object that represents a footnote added to a range.
Convert - Converts endnotes to footnotes, or vice versa.
Item - Returns an individual Footnote object in a collection.
ResetContinuationNotice - Resets the footnote or endnote continuation notice to the default notice.
ResetContinuationSeparator - Resets the footnote or endnote continuation separator to the default separator.
ResetSeparator - Resets the footnote separator to the default separator.
SwapWithEndnotes - Converts all footnotes in a document to endnotes and vice versa.To convert a range of footnotes to endnotes, use the Convert method.
Properties
ContinuationNotice returns a Range object that represents the footnote continuation notice.
ContinuationSeparator returns a Range object that represents the footnote continuation separator.
Count returns a Long that represents the number of footnotes in the collection.
Location returns or sets the position of all footnotes.
NumberingRule returns or sets the way footnotes or endnotes are numbered after page breaks or section breaks.
NumberStyle returns or sets the number style for the footnotes.
Separator returns a Range object that represents the footnote separator.
StartingNumber returns or sets the starting note number, line number, or page number.