Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Need help to read Pie Chart Series Range

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set chart series border property with variables read from cellvalues? JimC[_2_] Excel Programming 2 July 23rd 09 02:28 AM
Read series values range of a chart matelot Charts and Charting in Excel 2 May 15th 07 03:45 AM
x y scatter chart series ranges reset to x(range) = y(range) Brakerm19 Charts and Charting in Excel 4 September 26th 06 11:13 PM
reture the range of a chart series Bruce Excel Programming 1 April 6th 04 02:55 PM
Excel VBA - Read the series' chart data ranges rcatarino[_2_] Excel Programming 0 April 6th 04 01:22 AM


All times are GMT +1. The time now is 12:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"