Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Endnote Object (Word)
Collapse the table of content
Expand the table of content

Endnote Object (Word)

Represents an endnote. The Endnote object is a member of the Endnotes collection, which represents the endnotes in a selection, range, or document.

Use Endnotes(Index), where Index is the index number, to return a single Endnote object. The index number represents the position of the endnote in the selection, range, or document. The following example applies red formatting to the first endnote in the selection.

If Selection.Endnotes.Count >= 1 Then 
 Selection.Endnotes(1).Reference.Font.ColorIndex = wdRed 
End If

Use the Add method to add an endnote to the Endnotes collection. The following example adds an endnote immediately after the selection.

Selection.Collapse Direction:=wdCollapseEnd 
ActiveDocument.Endnotes.Add Range:=Selection.Range , _ 
 Text:="The Willow Tree, (Lone Creek Press, 1996)."
Show:
© 2015 Microsoft