B
brooks
I have an unbound OLE object on a form:
Name: OLEExcelChart
OLE Class: Microsoft Excel 2000
Class: Excel.Chart.8
I need to manipulate properties of the chart as well as the underlying
data.
I tried changing the chart type with:
Dim xlChart As Object
Set xlChart = Me.OLEExcelChart
xlChart.PlotArea.Select
xlChart.ChartType = xl3DPie
and get runtime error 438 "Object doesn't support this property or
method".
Would appreciate any help or code snippets.
Thanks,
Brooks
Name: OLEExcelChart
OLE Class: Microsoft Excel 2000
Class: Excel.Chart.8
I need to manipulate properties of the chart as well as the underlying
data.
I tried changing the chart type with:
Dim xlChart As Object
Set xlChart = Me.OLEExcelChart
xlChart.PlotArea.Select
xlChart.ChartType = xl3DPie
and get runtime error 438 "Object doesn't support this property or
method".
Would appreciate any help or code snippets.
Thanks,
Brooks