Updating listbox from code behind
The multiple pivot table filtering works with event programming.
There is Worksheet_Pivot Table Update code on each worksheet, and it runs when any pivot table on that worksheet is changed or refreshed.
As I have suggested earlier, one entire sheet will be treated as one single table, so if you have multiple datasets that were currently organized within one sheet you may have to create multiple sheets to store that data to be able to use them as tables. Many people ask, how to consolidate 2 or more sheets which have the similar data.
Well I would have adopted this method and wrote a simple query as below.
There is a new sample file on the Contextures website, that changes all the pivot tables, when you change a report filter in one pivot table.
For example, if you change the “Item” report filter in one pivot table, all the other pivot tables with an “Item” filter will change.
Vijay (many of you know him from VBA Classes), joined full-time this February. They get the same report filter settings that were in the pivot table that you changed. In this version of the sample file, the “Select Multiple Items” setting is also changed, to match the setting that is in the pivot table that you changed. For each report filter field, the code checks for the Select Multiple Items setting, and changes it on all the pivot tables with the same report filter field. The code loops through all the worksheets in the file, and through each pivot table on each sheet.