Greetings All,
I have a Dashboard report that is generated by a macro. I was having the macro refresh the pivot data, then read each record and copy the ones that were between 0-180 days old. These copied records then served as the data for the dashboard reports and graphs.
The problem was twofold. First, the time it took to refresh the pivot table, and Second reading each record tended to get stalled and the macro would freeze up and not exit though the error trap.
Being new to VBA and for that matter to Pivot Tables, I don't see a way to tell the pivot table I only want records that are no more than 180 days old from right now without going in and ticking off check marks in the filter.
Does anyone have any suggestions? I'm stumped.
Thanks
Jacob
Excel 2003 & 2010
I have a Dashboard report that is generated by a macro. I was having the macro refresh the pivot data, then read each record and copy the ones that were between 0-180 days old. These copied records then served as the data for the dashboard reports and graphs.
The problem was twofold. First, the time it took to refresh the pivot table, and Second reading each record tended to get stalled and the macro would freeze up and not exit though the error trap.
Being new to VBA and for that matter to Pivot Tables, I don't see a way to tell the pivot table I only want records that are no more than 180 days old from right now without going in and ticking off check marks in the filter.
Does anyone have any suggestions? I'm stumped.
Thanks
Jacob
Excel 2003 & 2010