Reputation: 139
I'm trying to modify data in a cell range when changing the selection in a slicer. Can this be done in Excel for Mac?
Upvotes: 0
Views: 6928
Reputation: 330
Yes, it is! As @BigBen had already mentioned, it is possible via the event Worksheet_PivotTableUpdate. This is also supported by Excel for Mac.
Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
End Sub
It is important that the code is defined in the corresponding sheet module
Upvotes: 2