PivotTable.ClearAllFilters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.