Editor.NextRange property (Word)

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.

Dim objEditor As Editor 
Dim objRange As Range 
 
Set objEditor = Selection.Editors(1) 
Set objRange = objEditor.NextRange

See also

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