Hi All,
How can I amend this code to change the slicer caption of a particular slicer on the active sheet
Im running this on the pivot table event on the sheet
How can I amend this code to change the slicer caption of a particular slicer on the active sheet
Im running this on the pivot table event on the sheet
Code:
If Worksheets("PivotSurvey").Range("AA2").Value = "State" Then
ActiveWorkbook.activesheet.SlicerCaches("Lead Trainer Name").Caption = "Manager Name"
Else
ActiveWorkbook.Activesheet.SlicerCaches("Lead Trainer Name").Caption = "Lead Trainer Name"
End If