Share via


Editor.NextRange Property

Word Developer Reference

Returns a Range object that represents the next range for which a user has permissions to modify.

Syntax

expression.NextRange

expression   An expression that returns an Editor object.

Remarks

You can also use the GoToEditableRange method of the Range object to return the next range for which a user has permission to modify.

Example

The following example returns the next range for the first editor in the active selection.

Visual Basic for Applications
  Dim objEditor As Editor
Dim objRange As Range

Set objEditor = Selection.Editors(1) Set objRange = objEditor.NextRange

See Also