ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   setting scale on chart automatically (https://www.excelbanter.com/excel-discussion-misc-queries/261159-setting-scale-chart-automatically.html)

Sanford Lefkowitz

setting scale on chart automatically
 
I am having users select a time series (line) chart from a drop down menu. (I
have a bunch of data on a separate page. The drop down menu pulls in the
requested data to a defined range and draws the chart). Frequently, the scale
on the Y axis that Excel chooses is highly sub-optimal. I don't want the user
to have to manually adjust the axes. Is there any way I can specify the scale
on the axes without manual adjustments?

Thanks

Jon Peltier[_2_]

setting scale on chart automatically
 
You could use VBA:

Link Chart Axis Scale Parameters to Values in Cells (VBA)
http://peltiertech.com/Excel/Charts/...nkToSheet.html

Use formulas to put "nice" scaling values into the cells monitored by
the macro.

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
774-275-0064
http://peltiertech.com/


On 4/9/2010 3:39 PM, Sanford Lefkowitz wrote:
I am having users select a time series (line) chart from a drop down menu. (I
have a bunch of data on a separate page. The drop down menu pulls in the
requested data to a defined range and draws the chart). Frequently, the scale
on the Y axis that Excel chooses is highly sub-optimal. I don't want the user
to have to manually adjust the axes. Is there any way I can specify the scale
on the axes without manual adjustments?

Thanks



All times are GMT +1. The time now is 08:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com