Selection.EndnoteOptions Property (Word)

Returns an EndnoteOptions object that represents the endnotes in a selection.

expression .EndnoteOptions

expression A variable that represents a Selection object.

This example sets the starting number for endnotes in the selected text.

Sub SetEndnoteOptionsRange() 
 With Selection.EndnoteOptions 
 If .StartingNumber <> 1 Then 
 .StartingNumber = 1 
 End If 
 End With 
End Sub
© 2015 Microsoft