Editors.Add Method (Word)

Returns an Editor object that represents a new permission for a specified user to modify a range or selection within a document. .


expression. Add( _EditorID_ )

expression Required. A variable that represents an 'Editors' collection.


Name Required/Optional Data Type Description
EditorID Optional Variant Can be either a String that represents the user's e-mail alias (if in the same domain), an e-mail address, or a WdEditorType that represents a group of users.


The following example gives editing permissions for the selected text to the current user.

Dim objEditor As Editor 
Set objEditor = Selection.Editors.Add(wdEditorCurrent)

See also

Editors Collection