Share via


Workbook.Permission Property

Excel Developer Reference

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

Syntax

expression.Permission

expression   A variable that represents a Workbook object.

Example

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

Visual Basic for Applications
  Dim objPermission As Permission

Set objPermission = ActiveWorkbook.Permission

See Also