Редагувати

Поділитися через


Document.Footnotes property (Word)

Returns a Footnotes collection that represents all the footnotes in a document. Read-only.

Syntax

expression. Footnotes

expression A variable that represents a Document object.

Remarks

For information about returning a single member of a collection, see Returning an object from a collection.

Example

This example changes the footnote reference marks for the footnotes in the active document to lowercase letters, starting with the letter "c".

With ActiveDocument.Footnotes 
 .StartingNumber = 3 
 .NumberStyle = wdNoteNumberStyleLowercaseLetter 
End With

This example inserts an automatically numbered footnote at the insertion point.

Selection.Collapse Direction:=wdCollapseStart 
ActiveDocument.Footnotes.Add Range:=Selection.Range, _ 
 Text:="(Lone Creek Press, 1995)"

See also

Document Object

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.