Location Property

Microsoft Word Visual Basic

Show All

Location Property

       

Location property as it applies to the EndnoteOptions and Endnotes objects.

Returns or sets the position of all endnotes. Read/write WdEndnoteLocation.

WdEndnoteLocation can be one of these WdEndnoteLocation constants.
wdEndOfDocument
wdEndOfSection

expression.Location

expression   Required. An expression that returns an Endnotes or EndnoteOptions object.

Location property as it applies to the FootnoteOptions and Footnotes objects.

Returns or sets the position of all footnotes. Read/write WdFootnoteLocation.

WdFootnoteLocation can be one of these WdFootnoteLocation constants.
wdBeneathText
wdBottomOfPage

expression.Location

expressionRequired. An expression that returns a Footnotes or FootnoteOptions object.

Example

As it applies to the EndnoteOptions and Endnotes objects.

This example positions all endnotes at the end of sections.

ActiveDocument.Endnotes.Location = wdEndOfSection

As it applies to the FootnoteOptions and Footnotes objects.

This example positions footnotes at the bottom of each page.

ActiveDocument.Footnotes.Location = wdBottomOfPage