Editor.DeleteAll method (Word)

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.

Dim objEditor As Editor 
 
Set objEditor = Selection.Editors(1) 
 
objEditor.DeleteAll

See also

Editor Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.