Protection.AllowFiltering Property
Returns True if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property AllowFiltering As Boolean
Get
'Usage
Dim instance As Protection
Dim value As Boolean
value = instance.AllowFiltering
bool AllowFiltering { get; }
Property Value
Type: System.Boolean
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.