From: Dreiding on
Excel 2003, I have an existing Pie Chart and want to extract the Ranges
(cells) used.
My code below returns with a "Type mismatch" error.

Sub GetPieChartSeries()
Dim mySeries As Series

ActiveSheet.ChartObjects(1).Activate
Set mySeries = ActiveChart.SeriesCollection(1)

Debug.Print mySeries.XValues (errors here)
Debug.Print mySeries.Values

End Sub

Thanks,
- Pat