Hello users!
I have some slicers connected to graphs in a spread sheet. When I clear a slicer filter I get the warning: "the maximum number of data series per chart is 255". I don't need to rearrange my charts because of this, I just want to disable this warning. I tried several things using Private Subs, such as these:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.DisplayAlerts = False
End Sub
Private Sub Worksheet_PivotTableAfterValueChange(ByVal TargetPivotTable As PivotTable, ByVal TargetRange As Range)
Application.DisplayAlerts = False
End Sub
not only in the worksheet, but also in the workbook. Yet the warning keeps coming. How can I get rid of it completely?
Thanks so much for helping me out!
Kitty
I have some slicers connected to graphs in a spread sheet. When I clear a slicer filter I get the warning: "the maximum number of data series per chart is 255". I don't need to rearrange my charts because of this, I just want to disable this warning. I tried several things using Private Subs, such as these:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.DisplayAlerts = False
End Sub
Private Sub Worksheet_PivotTableAfterValueChange(ByVal TargetPivotTable As PivotTable, ByVal TargetRange As Range)
Application.DisplayAlerts = False
End Sub
not only in the worksheet, but also in the workbook. Yet the warning keeps coming. How can I get rid of it completely?

Thanks so much for helping me out!
Kitty