Upravit

Sdílet prostřednictvím


Selection.EndnoteOptions property (Word)

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

Syntax

expression. EndnoteOptions

expression A variable that represents a Selection object.

Example

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

See also

Selection Object

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.