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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

graph - series in columns

Status
Not open for further replies.

MgtHargreaves

Programmer
May 12, 2006
33
GB
I have several routines which produce graphs - using Msgraph. These routines work perfectly in V3, but in V9 I get the error 'OLE error code 0x80020006: Unknown name.' The offending line of code is
Code:
 ThisForm.ograph.Application.PlotBy = 2

Everything compiles OK, the error occurs at runtime. If I ignore the error, the form appears with a blank graph. I can then right click, edit, and change to data / series in Columns and the graph appears as expected.

Please can any-one tell me the code I need to make this happen automatically.

Thank you

Margaret Hargreaves
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top