D
Dave Hart
I have an existing Excel addin written several years ago,
which has worked without changes on Excel 97, 2000 & 2003.
With Excel 2007, it gets a run-time error '438':
"Object doesn't support this property or method."
I have tracked it down to this line of code:
For Each pnt In ech.ChartGroups(1).SeriesCollection(1).Points
where the data items are defined as:
Dim pnt As Excel.Point
Dim ech As Excel.Chart
and after ChartWizard has been called to create a 3DPie chart.
Any ideas why this should happen and how to fix it?
Thanks
Dave Hart
which has worked without changes on Excel 97, 2000 & 2003.
With Excel 2007, it gets a run-time error '438':
"Object doesn't support this property or method."
I have tracked it down to this line of code:
For Each pnt In ech.ChartGroups(1).SeriesCollection(1).Points
where the data items are defined as:
Dim pnt As Excel.Point
Dim ech As Excel.Chart
and after ChartWizard has been called to create a 3DPie chart.
Any ideas why this should happen and how to fix it?
Thanks
Dave Hart