finding the scale on a chart

G

Guest

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?
 
A

Andy Pope

Hi,

This will return the maximum value of the value axis.

msgbox activechart.Axes(xlvalue).maximumscale

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top