Share via


Endnote.Range Property

Word Developer Reference

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.

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

See Also