ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   finding the scale on a chart (https://www.excelbanter.com/excel-programming/400343-finding-scale-chart.html)

scott

finding the scale on a chart
 
I know how to set the scale on a chart with vba code but how would I find
(using vba code) what the scale is set to in a cahrt?

Andy Pope

finding the scale on a chart
 
Hi,

This will return the maximum value of the value axis.

msgbox activechart.Axes(xlvalue).maximumscale

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Scott" wrote in message
...
I know how to set the scale on a chart with vba code but how would I find
(using vba code) what the scale is set to in a cahrt?




All times are GMT +1. The time now is 06:10 PM.

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