Hi all,
Does anyone know if there is a vba code that changes the source of a pivot table dynamically based on sheet name?
I have multiple data sheets in document 1. Every sheet is named after a specific month&year. If in document 1 a new data spreadsheet is created then I would like to create a pivot table spreadsheet in document 2 that automatically changes the sources of the pivots on that sheet accordingly to the data of document 1.
Hope this explanation is clear.
Happy to see your possible solutions,
Best, Jeroen
Bookmarks