Hi,
I'm trying to duplicate in VB5 code from Excel 2000 for working with a stock chart.
In Excel VBA, to set a chart type it is:
ActiveChart.ChartType = xlStockOHLC
In VB5, I added the Excel Chart using the OLE object tool. The object is: OLE1, so I tried:
OLE1.ChartType = xlStockOHLC
but I get a "Method or Data Member Not Found" on the ChartType method.
Its been a long time since I've done coding like this. Any help appreciated.
Thanks,
Brooks
I'm trying to duplicate in VB5 code from Excel 2000 for working with a stock chart.
In Excel VBA, to set a chart type it is:
ActiveChart.ChartType = xlStockOHLC
In VB5, I added the Excel Chart using the OLE object tool. The object is: OLE1, so I tried:
OLE1.ChartType = xlStockOHLC
but I get a "Method or Data Member Not Found" on the ChartType method.
Its been a long time since I've done coding like this. Any help appreciated.
Thanks,
Brooks