Share via


Selection.GoToEditableRange Method

Returns a Range object that represents an area of a document that can be modified by the specified user or group of users.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function GoToEditableRange ( _
    ByRef EditorID As Object _
) As Range
'Usage
Dim instance As Selection
Dim EditorID As Object
Dim returnValue As Range

returnValue = instance.GoToEditableRange(EditorID)
Range GoToEditableRange(
    ref Object EditorID
)

Parameters

  • EditorID
    Type: System.Object%
    Optional Object. Can be a String that represents the user's e-mail alias (if in the same domain), an e-mail address, or a WdEditorType constant that represents a group of users. If omitted, selects all ranges for which all users have permissions to edit.

Return Value

Type: Microsoft.Office.Interop.Word.Range

Remarks

You can also use the NextRange property of the Editor object to return the next range for which the user has permission to modify.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace