Form control selective Chart Scale adjustments (Poss VBA?)

WillBurge

New Member
Joined
Jun 28, 2012
Messages
17
Hi -

I have a chart with two axis. Thew primary axis is of no importance to this question.

The secondary axis charts one of four options, defined by a checkbox (form control). A simple formula chooses the data range based on the true or false output of the checkboxes.

Now I would like to over ride the automatic scale for one of the selections. For arguements sake - Option2.

When option 2 is selected from the checkbox, I would like it to use a predefined scale on the secondary axis, instead of the default settings.

Can anyone advise on the possibility of this? I am happy to change the form controls to VBA, however my VBA knowledge is relatively limited. Could I perhaps activate a macro when the linked cell for option 2 is TRUE, which would re-define the scale bar for that particular option, and then revert back to default automatic scale once the linked cell reads false?

Many thanks for any input!

P.s, This is a new account, my previous one seems to be misbehaving!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,203,052
Messages
6,053,237
Members
444,648
Latest member
sinkuan85

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
Back
Top