How to reference a chart object

L

Laurel

How can I find out how to reference the parts of a chart object in code? I
have a chart/graph on a form. It shows up as Class = MsGraph.Chart.8 in the
form's properties. If I go to the form's code area, it shows up as Graph53.
I only want to change the title of the graph (the part that can be
referenced by right-mouse/Chart Object/Edit and then selecting the title. I
want to change this in code at run time.

In general, where can I go to read up on coding the chart object in
MsAccess?
 
N

NthDegree via AccessMonster.com

If you right click on the object in design mode a menu should appear. About
the third item from the top should be the control type, click on that then
properties. The properties displayed are what you can change there or
programmatically in VBA.
 
L

Laurel

I'm afraid I can't find this menu item.
If I'm in design mode for the form (that is, the graph control is not out
lined in thick hatching), a right mouse on that control gives me "Build
Event", "Build" (disabled), "Chart Object", "Change To" , etc.... standard
menu.

If I choose Chart Object, I get "Edit, "Open", "Convert." I can't tell
much difference between Edit and Open, but there's no "control type' item.

In the code for the form, I tried print graph23. and then chose all the
items listed in the menu that pops up. Many of them were unprintable. None
seemed to reference the chart title.

I'm running MSAccess 2003. Might it be a version difference, or am I just
not doing it right?
 

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