ACC: How to Automate Changes to Properties of a Graph AxisLast reviewed: August 29, 1997Article ID: Q158938 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. This article describes a method for programmatically changing the properties of a graph on a form. The example shows you how to change the Minimum and Maximum Scale, and the Minor and Major Unit properties of the Y-axis on a Microsoft Graph object embedded in a form. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. NOTE: Visual Basic for Applications is called Access Basic in version 2.0. For more information about Access Basic, please refer to the "Building Applications" manual.
MORE INFORMATIONIn the following example, you create a form with a graph, four text boxes, and a command button. You type the values for Minimum Scale, Maximum Scale, Minor Unit, and Major Unit in the text boxes, and then click the button to see the changes in the graph.
REFERENCESFor more information about changing graph objects, search the Help Index for "graph" or "graphs," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: format
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |