Share via


Editor Object

Word Developer Reference

Represents a single user who has been given specific permissions to edit portions of a document.

Remarks

Users who can be given permissions include individual contributors and groups of users as defined for Document Workspace sites.

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.

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.

Visual Basic for Applications
  Dim objEditor As Editor

Set objEditor = Selection.Editors.Add(wdEditorCurrent)

See Also