Share via


Editor.DeleteAll Method

Word Developer Reference

Deletes all editing permissions in a document for a specific user.

Syntax

expression.DeleteAll

expression   Required. A variable that represents an Editor object.

Example

The following example deletes all editing permissions for the first user in the Editors collection in the active document.

Visual Basic for Applications
  Dim objEditor As Editor

Set objEditor = Selection.Editors(1)

objEditor.DeleteAll

See Also