Share via


PivotField.ClearAllFilters Method

Excel Developer Reference

Calling this method deletes all filters currently applied to the PivotField. This includes deleting all filters from the PivotFilters collection of the PivotField and removing any manual filtering applied to the PivotField as well. If the PivotField is in the Report Filter area, the item selected will be set to the default item.

Version Information
 Version Added:  Excel 2007

Syntax

expression.ClearAllFilters

expression   A variable that represents a PivotField object.

See Also