Forum Discussion

Malcolm McMaster's avatar
Malcolm McMaster
Copper Contributor
Jun 07, 2017

VBA Macro to write to Pivot table "Search" filter

Hi everyone,

 

I have a requirement for a code to copy data from a cell in a workbook & paste the value into the search field of a pivot table.

Just to illustrate, I want to copy the data from worksheet 1 (Cell A1) and then paste this vaue into a pivot table search filter field so that the pivot table will then generate the report based on the new data supplied by the code.

 

Any help (as always) would be much appreciated.

 

Resources