Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default excel 2007 Seriescollection.Add bug

Can someone please confirm if this is a problem with excel 2007.

When I manually add a data series to a chart, the new series becomes
the last series in the SeriesCollection object. When I add a data
series using VBA either by .Pasting or by using SeriesCollection.Add,
the new series becomes the first series on the chart. Earlier excel
versions don't do this.

Is there any way to force excel 2007 to add the series to the end of
the collection, and thereby match the behavior of earlier excel
versions?

Thanks,

Brian Murphy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default excel 2007 Seriescollection.Add bug

False alarm. Sort of.

It turns out that the series numbering ended up different in Excel
2007 because Excel 2007 has different behavior while executing a
statement that does

Selection.Formula = "=SERIES(...."

If the series number is not explicitly given in the above statement,
then excel 2007 changed the selected series to be series number 1.
Earlier versions didn't do this. So the fix was easy - to just give
the series number.

Brian





On Aug 27, 10:31 pm, wrote:
Can someone please confirm if this is a problem withexcel2007.

When I manually add a data series to a chart, the new series becomes
the last series in the SeriesCollection object. When I add a data
series using VBA either by .Pasting or by using SeriesCollection.Add,
the new series becomes the first series on the chart. Earlierexcel
versions don't do this.

Is there any way to forceexcel2007to add the series to the end of
the collection, and thereby match the behavior of earlierexcel
versions?

Thanks,

Brian Murphy



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
Excel Chart SeriesCollection Formula sgpl Excel Discussion (Misc queries) 1 February 19th 09 05:21 PM
Creating a plot in Excel with SeriesCollection CLamar Charts and Charting in Excel 2 June 12th 06 05:56 PM
Chart SeriesCollection. Problem changing from Excel 2000 to 2002 [email protected] Excel Programming 4 July 6th 04 08:15 AM
Setting SeriesCollection values in Excel 2000 nubee Excel Programming 4 May 29th 04 03:08 AM
VBA- SeriesCollection yusoon[_3_] Excel Programming 1 April 8th 04 10:38 AM


All times are GMT +1. The time now is 10:21 AM.

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

About Us

"It's about Microsoft Excel"