Edit

Share via


Protection.AllowFiltering Property

Definition

Returns True if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.

public:
 property bool AllowFiltering { bool get(); };
public bool AllowFiltering { get; }
Public ReadOnly Property AllowFiltering As Boolean

Property Value

Remarks

The AllowFiltering property can be set by using the Protect(Object, Object, Object) 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.

Applies to