djsmarties
Board Regular
- Joined
- Sep 10, 2002
- Messages
- 95
Hi,
i have a question regarding "getpivotdata".
I have a pivot table which looks like this:
count of record days
employee 1-3days 4-6 days 5-7 days grand total
xxx1
xxx2
xxx3
The pivot is refreshed daily and the data for both the row (different employees every day) and the column change depending on the raw data (number of columns changes between 2-6). What i want to do is copy the grand total column out of the pivot table using a macro so i can use it for further calculations . Can I use getpivotdata to get the grand total from each row? And if yes, how?
thanks
i have a question regarding "getpivotdata".
I have a pivot table which looks like this:
count of record days
employee 1-3days 4-6 days 5-7 days grand total
xxx1
xxx2
xxx3
The pivot is refreshed daily and the data for both the row (different employees every day) and the column change depending on the raw data (number of columns changes between 2-6). What i want to do is copy the grand total column out of the pivot table using a macro so i can use it for further calculations . Can I use getpivotdata to get the grand total from each row? And if yes, how?
thanks