In short, I would like the value of a Pivot report filter on one sheet to be the same as the value in cell B2 on another sheet which changes depending on the value of a VLOOKUP formula in B2.
I have been able to track down two different macros that do the job of updating the report filter value in a pivot table based on cell B2 updating.
The problem is that neither macro works automatically. You have to physically run the macro to get the report filter to update. I would like the report filter of the pivot table to update each time the value resulting from the VLOOKUP changes.
One of the macros that works, but fails to run automatically is below:
The other macro uses named ranges and goes something like:
Note that I have removed the named ranges from the file attached to avoid confusion, so this macro isn't working.
Any help would be greatly appreciated.
Bookmarks