Compartilhar via


Document.Permission Property

Word Developer Reference

Returns a Permission object that represents the permission settings in the specified document.

Syntax

expression.Permission

expression   An expression that returns a Document object.

Example

The following example returns the permission settings for the active document.

Visual Basic for Applications
  Dim objPermission As Permission

Set objPermission = ActiveDocument.Permission

See Also