編輯

共用方式為


Selection.GoToEditableRange(Object) Method

Definition

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

public Microsoft.Office.Interop.Word.Range GoToEditableRange (ref object EditorID);
abstract member GoToEditableRange : obj -> Microsoft.Office.Interop.Word.Range
Public Function GoToEditableRange (Optional ByRef EditorID As Object) As Range

Parameters

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

Returns

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.

Applies to