I have several pivot tables that I use to summarize the data I need and then, currently, I am using vlookups to transfer the pivot table data to reports. This creates error sometimes - becuase the pivot tables can change each time I run the report - so I have to make sure that the vlookup is searching the entire pivot table range.
I think I understand the GetPivotData function, but what confuses me is that my pivot tables have only calculated data. I have attached an example of a pivot I use. I am not sure how to retrieve the data. I need to retrieve the region data for each category and I also need to retrieve the grand total for each category.
I think if this was a basic pivot then I would be able to write a working GetPivotData function - but of course...
EXAMPLE:
I think I understand the GetPivotData function, but what confuses me is that my pivot tables have only calculated data. I have attached an example of a pivot I use. I am not sure how to retrieve the data. I need to retrieve the region data for each category and I also need to retrieve the grand total for each category.
I think if this was a basic pivot then I would be able to write a working GetPivotData function - but of course...
EXAMPLE: