Class EndnoteOptions (Word VBA)

The class EndnoteOptions represents the properties assigned to a range or selection of endnotes in a document.

Set

To use a EndnoteOptions class variable it first needs to be instantiated, for example

Dim eos as EndnoteOptions
Set eos = Selection.EndnoteOptions

The following procedures can be used to set variables of type EndnoteOptions: Range.EndnoteOptions and Selection.EndnoteOptions

Location

Returns or sets the position of all endnotes.

Possible Values are wdEndOfDocument - At end of active document, wdEndOfSection - At end of current section.
ActiveDocument.Endnotes.Location = wdEndOfSection

NumberingRule

Returns or sets the way footnotes or endnotes are numbered after page breaks or section breaks.

Possible Values are wdRestartContinuous - Numbers are assigned continuously, wdRestartPage - Numbers are reset for each page, wdRestartSection - Numbers are reset for each section.
ActiveDocument.Endnotes.NumberingRule = wdRestartSection

NumberStyle

Returns or sets the number style for the endnotes.

Possible Values are wdNoteNumberStyleArabic - Arabic number style, wdNoteNumberStyleArabicFullWidth - Arabic full-width number style, wdNoteNumberStyleArabicLetter1 - Arabic letter style 1, wdNoteNumberStyleArabicLetter2 - Arabic letter style 2, wdNoteNumberStyleHanjaRead - Hanja read number style, wdNoteNumberStyleHanjaReadDigit - Hanja read digit number style, wdNoteNumberStyleHebrewLetter1 - Hebrew letter style 1, wdNoteNumberStyleHebrewLetter2 - Hebrew letter style 2, wdNoteNumberStyleHindiArabic - Hindi Arabic number style, wdNoteNumberStyleHindiCardinalText - Hindi Cardinal text style, wdNoteNumberStyleHindiLetter1 - Hindi letter style 1, wdNoteNumberStyleHindiLetter2 - Hindi letter style 2, wdNoteNumberStyleKanji - Kanji number style, wdNoteNumberStyleKanjiDigit - Kanji digit number style, wdNoteNumberStyleKanjiTraditional - Kanji traditional number style, wdNoteNumberStyleLowercaseLetter - Lowercase letter style, wdNoteNumberStyleLowercaseRoman - Lowercase Roman number style, wdNoteNumberStyleNumberInCircle - Number in circle number style, wdNoteNumberStyleSimpChinNum1 - Simplified Chinese number style 1, wdNoteNumberStyleSimpChinNum2 - Simplified Chinese number style 2, wdNoteNumberStyleSymbol - Symbol number style, wdNoteNumberStyleThaiArabic - Thai Arabic number style, wdNoteNumberStyleThaiCardinalText - Thai Cardinal text style, wdNoteNumberStyleThaiLetter - Thai letter style, wdNoteNumberStyleTradChinNum1 - Traditional Chinese number style 1, wdNoteNumberStyleTradChinNum2 - Traditional Chinese number style 2, wdNoteNumberStyleUppercaseLetter - Uppercase letter style, wdNoteNumberStyleUppercaseRoman - Uppercase Roman number style, wdNoteNumberStyleVietCardinalText - Vietnamese Cardinal text style.

Some of the WdNoteNumberStyle constants may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.

Selection.EndnoteOptions.NumberStyle = wdNoteNumberStyleArabic

Parent

Returns an object that represents the parent object of the specified EndnoteOptions object.

Dim objParent As Object
Set objParent = Selection.EndnoteOptions.Parent

StartingNumber

Returns or sets the starting endnote number.

Selection.EndnoteOptions.StartingNumber =