PivotFilters object (Excel)
The PivotFilters object is a collection of PivotFilter objects.
Remarks
The PivotFilters collection contains properties and methods to add new filters, count the number of existing filters in the collection, and reference specific PivotFilter objects.
Example
In the following example, a new PivotFilter is added to the PivotField at the currently active cell.
ActiveCell.PivotField.PivotFilters.Add FilterType := xlThisWeek
Methods
Properties
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.