Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating MSGraph via VBA/VB within Access

Status
Not open for further replies.

VickyLeigh

Technical User
Sep 14, 2000
5
GB
Can anyone tell me the VB Code to update the Maximum and Minimum values for the Y Axis Scale in a graph on an Access form - I need to be able attach this to the OnChange property of a button on a form if possible.
For the sake of argument I have a form called forma and a graph object on this graph called graph1

Thanks for any help




[sig][/sig]
 
Hi

You could use the following code. Please ensure you have the Microsoft Graph object library referenced.

Me!NameOfYourGraph.Axes(2).MinimumScale = XYZ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top