Pivot chart refresh - where did my formating go?

fletch

Board Regular
Joined
Jan 6, 2003
Messages
99
I've created a pivot chart. When I refresh it the secondary access and data series formating returns to a default. How can i prevent this?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Greg Truby

MrExcel MVP
Joined
Jun 19, 2002
Messages
10,022
AFAIK you can't. Irritates the soup outta me too. About the most I've been able to do is to alter the pallet colors -- tools | options | color (tab) and the bottom set of sixteen "custom colors" are the charting pallet. But do anything fancy like shaded fills or fill with a picture and it all evaporates when you click on any of the field-changing buttons.

Just saw Andrew's post when I "previewed" this. So, looks like we can't stop it from happening, only undo the mess by dragging VBA into it and restoring the formatting that way. yuk :p
 

fletch

Board Regular
Joined
Jan 6, 2003
Messages
99
Thanks guys,

I can write the vb to reformat the chart. ideally i'd like the macro to automatically run when I change the value in the page pivotchart button (top left).

Is this possible?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,052
Messages
5,835,144
Members
430,342
Latest member
Sailingexcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top