Microsoft Word Suite
Use endnote 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, text range, or document. The
following example applies red formatting to the first endnote in the selection.
if (count of endnotes of selection) 1 then
set color index of font object of note reference of endnote 1 of ¬
selection to red
To add an endnote to the endnotes list, use the make command. The following example adds an
endnote immediately after the selection.
collapse range text object of selection direction collapse end
make new endnote at the end of selection
Returns a number that indicates the position of an endnote in the endnotes list. Read-only.
Returns a text range object that represents an endnote mark. Read-only.
Returns a text range object that represents the portion of a document that's contained in the
endnote object. Read-only.
Class: endnote options
Represents options for endnotes in a selection, text range, or document.
To return the endnote options object, use the endnote options property of the selection, text range, or
document object. The following example sets the location of endnotes in the active document.
set endnote location of endnote options of active document to end_of_section
endnote continuation notice
Returns a text range object that represents the endnote continuation notice. Read-only.
endnote continuation separator
Returns a text range object that represents the endnote continuation separator. Read-only.
Returns or sets the position of all endnotes. Read/write.
Can be either of the following: