EndnoteOptions object (Word)

Represents the properties assigned to a range or selection of endnotes in a document.

Remarks

Use the EndnoteOptions property of the Range or Selection object to return an EndnoteOptions object.

Using the EndnoteOptions object, you can assign different endnote properties to different areas of a document. For example, you may want endnotes in the introduction of a long document to be displayed as lowercase Roman numerals, while in the rest of your document they are displayed as Arabic numerals. The following example uses the NumberingRule, NumberStyle, and StartingNumber properties to format the endnotes in the first section ofthe active document.

Sub BookIntro() 
 Dim rngIntro As Range 
 
 'Sets the range as section one of the active document 
 Set rngIntro = ActiveDocument.Sections(1).Range 
 
 'Formats the EndnoteOptions properties 
 With rngIntro.EndnoteOptions 
 .NumberingRule = wdRestartSection 
 .NumberStyle = wdNoteNumberStyleLowercaseRoman 
 .StartingNumber = 1 
 End With 
End Sub

See also

Word Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.