Word Object Model Reference Support and feedback The following example applies red formatting to the first endnote in the selection. The index number represents the position of the endnote in a selection, range, or document. ![]() Use Endnotes (Index), where Index is the index number, to return a single Endnote object. Text:="The Willow Tree, (Lone Creek Press, 1996)." Selection.Collapse Direction:=wdCollapseEndĪ Range:=Selection.Range, _ The following example adds an endnote immediately after the selection. Use the Add method to add an endnote to the Endnotes collection. The following example sets the location of endnotes in the active document. Use the Endnotes property to return the Endnotes collection. ![]() A collection of Endnote objects that represents all the endnotes in a selection, range, or document.
0 Comments
Leave a Reply. |