Workbook.Permission property (Excel)

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.

Dim objPermission As Permission 
 
Set objPermission = ActiveWorkbook.Permission

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.