does anyone know a good way of clearing the slicers in a workbook. I have a sheet with many slicers and I would like to have a single button to clear them.
I wrote a bit of VBA to do it but it’s a little slow :
Sub ClearSlicers()
Dim cache As SlicerCache
For Each cache In ActiveWorkbook.SlicerCaches
cache.ClearManualFilter
Next cache
End Sub
Just wondered if you have anything a little slicker ?
Thanks John