Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default reture the range of a chart series

Hopw do you return a chart series
I guess its something along the line of

MsgBox (ActiveChart.SeriesCollection(1).Range.Address

but not quite right

Just in case im going about this the wrong way I am trying to update the range based on a variable I have determined as the end row of a serie

ie
endrow = (Worksheets("Data").Range("A1").End(xlDown).Row
ActiveChart.SeriesCollection(l).XValues = Worksheets("ASX_Data").Range("A2:A" & endrow & ""

However the A2:A part of the range varies from chart to chart so I want to return this as it currently is on the chart andonly update the end row

Bruc


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default reture the range of a chart series

Perhaps this page from John Walkenbach's site:

http://j-walk.com/ss/excel/tips/tip83.htm
A Class Module to Manipulate a Chart SERIES

--
Regards,
Tom Ogilvy



"Bruce" wrote in message
...
Hopw do you return a chart series.
I guess its something along the line of

MsgBox (ActiveChart.SeriesCollection(1).Range.Address)

but not quite right.

Just in case im going about this the wrong way I am trying to update the

range based on a variable I have determined as the end row of a series

ie
endrow = (Worksheets("Data").Range("A1").End(xlDown).Row)
ActiveChart.SeriesCollection(l).XValues =

Worksheets("ASX_Data").Range("A2:A" & endrow & "")

However the A2:A part of the range varies from chart to chart so I want to

return this as it currently is on the chart andonly update the end row.

Bruce




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
Read series values range of a chart matelot Charts and Charting in Excel 2 May 15th 07 03:45 AM
How to dynamically change the series range of a chart ? ptek Charts and Charting in Excel 2 October 5th 06 04:42 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
How do I use a Defined Name range for a value series in a chart? Don Charts and Charting in Excel 1 June 17th 05 11:57 PM
need help updating chart (series in dynamic range) Jeff Charts and Charting in Excel 1 April 1st 05 02:35 AM


All times are GMT +1. The time now is 10:16 PM.

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"