Selection.Editors Property

Word Developer Reference

Returns an Editors object that represents all the users authorized to modify a selection within a document.

Syntax

expression.Editors

expression   A variable that represents a Selection object.

Example

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