Set chart axis values via cell values

Brian F

Active Member
Joined
Aug 31, 2009
Messages
256
Using Excel 2010, is there a way to specify the minimum and maximum axis values of a chart in CELLS rather than have to go through the entire process of using the Chart Tools? For example, entering the values of "-10" and "10" in specified cells would set the minimum and maximum values of the "x" axis to "-10" and "10".

Perhaps a vba program?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
You can always add additional series and tie them to a cell. However, Excel may try and shift the axis min and max and add space above and below your points.

Also, if a point in your graph series goes above/below these points, the chart will still expand.

VBA would be the best option for locking them down and linking to a cell.


Steve=True
www.exceldashboardtemplates.com
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,292
Members
452,902
Latest member
Knuddeluff

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