I have an Excel spreadsheet template. It contains pivot tables having criteria that specify the content of the spreadsheet.
I need to amend that criteria programatically from a macro running in a separate spreadsheet so that the template will feature different content.
What coding would be appropriate to achieve this