Protection.AllowFiltering Property
Excel Developer Reference |
Returns True if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. Read-only Boolean.
Syntax
expression.AllowFiltering
expression A variable that represents a Protection object.
Remarks
The AllowFiltering property can be set by using the Protect method arguments.
The AllowFiltering property allows the user to change filter criteria on an existing AutoFilter. The user cannot create or remove an AutoFilter on a protected worksheet.
The cells to be filtered must be unlocked when the sheet is protected.
Example
This example allows the user to filter row 1 on the protected worksheet and notifies the user.
Visual Basic for Applications |
---|
|
See Also