Hi,
I have a very simple code where when i click i want VBA code to first clear all filters in the slicer then select RB. Below is the code i am using but no success. can anyone help?
ActiveWorkbook.SlicerCaches("Slicer_Manufacturer1").ClearManualFilter
With ActiveWorkbook.SlicerCaches("Slicer_Manufacturer1")
.SlicerItems("RB").Selected = True
End With
End Sub
I have a very simple code where when i click i want VBA code to first clear all filters in the slicer then select RB. Below is the code i am using but no success. can anyone help?
ActiveWorkbook.SlicerCaches("Slicer_Manufacturer1").ClearManualFilter
With ActiveWorkbook.SlicerCaches("Slicer_Manufacturer1")
.SlicerItems("RB").Selected = True
End With
End Sub