CubeField.ClearManualFilter method (Excel)

The ClearManualFilter method provides an easy way to set the Visible property to True for all items of a PivotField in PivotTables, and to empty the HiddenItemsList/VisibleItemsList collections in OLAP PivotTables.

Syntax

expression.ClearManualFilter

expression A variable that represents a CubeField object.

Remarks

This method is available for the PivotField object in PivotTables and for the CubeField object in the OLAP PivotTable. Calling it for a PivotField in an OLAP PivotTable will return a run-time error.

After calling this method, the HiddenItemsList/HiddenItems and VisibleItemsList/VisibleItems collections are empty.

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.