Graph Chart OLE

M

Mur Ebra

I wrote the following code in Access 97 to embed a MS Graph Chart for drawing a histogram from a MS Access query but I get an error in the last two lines of my code and I can't seem to be able to debug. Please help

Dim ChartReport1 As Repor
Set ChartReport1 = CreateRepor
ChartReport1.Visible = Tru

Dim ChartObj1 As ObjectFram
Dim Chart1 As Objec
ChartObj1.OLEClass = "Microsoft Graph 2000 Chart
ChartObj1.Class = "MSGraph.Chart.8"
 

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