ACC: How to Use OLE Automation to Change a Graph's Type
Article ID: 120418
Article Last Modified on 1/19/2007
APPLIES TO
- Microsoft Access 2.0 Standard Edition
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
This article was previously published under Q120418
SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
This article shows you how to use Automation to dynamically change a
chart's type. For example, you could use this method to change a bar chart
to a column chart as you print a report or view records 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 Microsoft
Access 2.0. For more information about Access Basic, please refer to the
"Building Applications" manual.
REFERENCES
For more information about using Automation, type Automation in the
Office Assistant, click Search, and then click to view "Automation with
Microsoft Access."
For more information about using Charts, type Charts in the Office
Assistant, click Search, and then click to view "Create a Chart."
Additional query words: graph5
Keywords: kbinfo kbprogramming kbusage KB120418