SlicerCache.ClearManualFilter Method
Clears the filtering of all slicers associated with the specified slicer cache.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub ClearManualFilter
'Usage
Dim instance As SlicerCache
instance.ClearManualFilter()
void ClearManualFilter()
Remarks
If you clear filtering from one slicer by using the ClearManualFilter() method, but one or more slicers are cross filtering data in that slicer, some items in the first slicer will remain grayed out. For example, if you have a Customer and Country slicer that are cross filtered, and you execute ActiveWorkbook.SlicerCaches("Slicer_Customer").ClearManualFilter, all the items in the Customer slicer will not become available until you execute ActiveWorkbook.SlicerCaches("Slicer_Country").ClearManualFilter. For more information on cross filtering, see the CrossFilterType property.