I have a pivot table that's refreshed every time the sheet is activated. The design desired on the PT sheet is to have the cells around the pivot to be green, while the pivot remains uncolored, and the rest of the sheet other than the green border stays uncolored (or, stays the various colors it is). I've included an example of the desired result.
The problem is that, depending on the PT's source data, the pivot can be only a few rows deep, or many rows deep. Adding or removing a field, or changing the number of rows, changes where the green should be, so I need a macro tha can keep up with it. Can anyone point me in the right direction?
Bookmarks