Selection.Endnotes Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns an Endnotes collection that represents all the endnotes conatined within a selection. Read-only.

expression .Endnotes

expression A variable that represents a Selection object.

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

This example positions the endnotes in the selection at the end of the document and formats the endnote reference marks as lowercase roman numerals.

With Selection.Endnotes 
 .Location = wdEndOfDocument 
 .NumberStyle = wdNoteNumberStyleLowercaseRoman 
End With