PivotTable.ClearAllFilters Method

Definition

The ClearAllFilters() method deletes all filters currently applied to the PivotTable. This includes deleting all filters in the PivotFilters collection of the PivotTable object, removing any manual filtering applied and setting all PivotFields in the Report Filter area to the default item.

public:
 void ClearAllFilters();
public void ClearAllFilters ();
Public Sub ClearAllFilters ()

Remarks

After calling the ClearAllFilters() method, the PivotFilters collection will be empty.

Applies to