

For starters, you need to set each PivotTable's ManualUpdate property to TRUE so that they don't refresh ater each and every PivotItems changes. If you want the user to be able to select multiple items, things become way, way more complicated.
EXCEL SLICER 2013 CODE
There's a bit of code in there to ensure that the user can't select more than one item in the slicer at a time.īut what if you want the User to be able to select multiple items? If Target.Name = "PivotTable1 Slave" Then VArray = Array("PivotTable2 Slave", "PivotTable3 Slave") Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable) Here's the code that achieves this: Option Explicit and this will work even if the field you want to filter on isn't visible in any of your pivots: And then more magic happens: that single selection in those slave PageFields gets replicated in the master PivotTables thanks to those hidden Slicers we set up earlier. PageField of the PivotTable1 Slave PivotTable. PageField of those other slave PivotTables to match the. When they select an item using it, it generates a PivotTable_Update event for that PivotTable1 Slave PivotTable, which we keep an eye out for. Now this is where the clever hack comes in: We move the Slicer that is connected to the PivotTable1 Slave PivotTable into the main sheet so the user can click on it. connect each hidden Slicer to it's visible counterpart PivotTable using the Report Connections box. Connect each of those Slicers up to the actual PivotTables you had to begin with.

Again, these will be somewhere out of sight:
