Share via


Editor Object

Editors
Editor
Range

Represents a single user who has been given specific permissions to edit portions of a document. Users who can be given permissions include individual contributors and groups of users as defined for Document Workspace sites.

Note  The permissions you assign to ranges and selections go into effect only after a document is protected. Use the Editors collection and the Editor object to assign specific permissions to sections of a document. Then use the Protect method to protect the document.

Using the Editor Object

Use the Add method of the Editors collection to give a specified user or group permission to modify a range or selection within a document. The following example gives the current user editing permission to modify the active selection.

Dim objEditor As Editor

Set objEditor = Selection.Editors.Add(wdEditorCurrent)

Properties | Application Property | Creator Property | ID Property | Name Property | NextRange Property | Parent Property | Range Property

Methods | Delete Method | DeleteAll Method | SelectAll Method

Parent Objects

Child Objects | Range Object