Share via


NextRange Property

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

expression.NextRange

expression Required. An expression that returns an Editor object.

Remarks

You can also use the GoToEditableRange method of the Range or Selection 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.

Dim objEditor As Editor
Dim objRange As Range

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

Applies to | Editor Object