Edit

Endnote.Range property (Word)

Returns a Range object that represents the portion of a document that is contained in the specified object.

Syntax

expression.Range

expression Required. A variable that represents an 'Endnote' object.

Remarks

For information about returning a range from a document or returning a shape range from a collection of shapes, see the Range method.

Example

This example changes the text of the first endnote in the active document.

With ActiveDocument.Endnotes(1).Range 
 .Delete 
 .Text = "new endnote text" 
End With

See also

Endnote 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.