Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Michael C via OfficeKB.com
 
Posts: n/a
Default How to append existing series?

I want to append specific series on a chart.
I realize using the extend method would do the trick, but that will append
all the series in the chart.Hence the format SeriesCollection.Extend

I want to be able to extend specific series so SeriesCollection(index).Extend,
but it gives me a runtime error when using that code.

Anyone know how would I extend an existing specific series?


--
Message posted via http://www.officekb.com
  #2   Report Post  
Tushar Mehta
 
Posts: n/a
Default

If you know the range that constitutes the source for a particular
series set the Values (and XValues) properties. Something like:

ActiveChart.SeriesCollection(1).Values = _
"='" & ActiveSheet.Name & "'!" _
& Range("F1").Resize(4, 1).Address( _
RowAbsolute:=True, ColumnAbsolute:=True, _
ReferenceStyle:=xlR1C1)

Or you can use named formulas for series a la
Dynamic Charts
http://www.tushar-mehta.com/excel/ne...rts/index.html

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article , says...
I want to append specific series on a chart.
I realize using the extend method would do the trick, but that will append
all the series in the chart.Hence the format SeriesCollection.Extend

I want to be able to extend specific series so SeriesCollection(index).Extend,
but it gives me a runtime error when using that code.

Anyone know how would I extend an existing specific series?



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 hide a dummy series in a chart legend? holg3r New Users to Excel 2 July 14th 05 09:04 AM
Can I add an average series to a chart with 2 or more series? Yaniv Charts and Charting in Excel 4 June 16th 05 11:37 PM
How to change Series order in a Combination Chart? vrk1 Charts and Charting in Excel 3 April 1st 05 07:21 AM
How to change Series Order in a Combination Chart? vrk1 Excel Discussion (Misc queries) 0 March 31st 05 11:19 PM
series graph -- one series being added to another series rich zielinski via OfficeKB.com Charts and Charting in Excel 3 March 30th 05 06:23 PM


All times are GMT +1. The time now is 04:27 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"