This documentation is archived and is not being maintained.

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

Dim protection1 As Protection

Dim returnValue As Boolean
returnValue = protection1.AllowFiltering

bool AllowFiltering {get;}
public boolean get_AllowFiltering();
function get AllowFiltering() : Boolean;

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms