View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson Jim Thomlinson is offline
external usenet poster
 
Posts: 5,939
Default Maintaining pivot table formatting

You can't... It is one of the weaknesses in pivot tables. You can use the
supplied auto formats but any other formats will not be dynamic with changes
to the pivot table.

If you are using xl2002 or better then you can react to the pivot_change
event and then remove the old formats and reply the formats...
--
HTH...

Jim Thomlinson


"gonger" wrote:


i have a macro that creates a pivot table based on some user inputs and
then i do some formatting on the pivot table just for show. the
problem is that i can't maintain the formatting if the user decides to
alter the pivot table (i.e. change one of the field drop downs from
showing "All" data to some subset of it.)

i've already tried to set the preserve formatting feature to true, but
that didn't work .... any ideas?

thanks


--
gonger
------------------------------------------------------------------------
gonger's Profile: http://www.excelforum.com/member.php...o&userid=34797
View this thread: http://www.excelforum.com/showthread...hreadid=564330