LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Series collection pb on Ecxel 2003 chart

Hi guys, I've got a big pb... and if someone could help me quickly it
would be great.

There's my pb :
I run a macro under VB which create charts and series within each
charts using :


'Creating Chart
'Add serie


'And then:


1.Set AddSingleChartSeriesFromRange =
NewChart.SeriesCollection.NewSeries
2.AddSingleChartSeriesFromRange.Values = "=" &
RangeToChartAddress(ChartSeriesValues)


3.If Not ChartSeriesXValues Is Nothing Then
AddSingleChartSeriesFromRange.XValues = "=" &
RangeToChartAddress(ChartSeriesXValues)


4.If Not ChartSeriesName Is Nothing Then
AddSingleChartSeriesFromRange.Name = "=" &
RangeToChartAddress(ChartSeriesName)


' It does crash just after setting the values...


The thing is, it does work fine for a lot of charts , but somehow
manages to crash for one of the chart ( which can be different
depending of the series of each chart, for that I 'm wondering if
didn't hit any limit within Excel for the series within a
workbook...which might be 256 but it is written 255 on a worksheet on
the excel specifications).


Or I was thinking As well, It might due to that my values are string (
and my xvalues are date), could it be pb ?


I already verified the length of each data, and they are the same for
Values and Xvalues.


The odd thing, is that my program does carry on after, and create the
following charts, but if you close excel or try to save the workbook ,
Excel crashes....

 
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
series objects; finding specific ones in the collection cate Charts and Charting in Excel 2 April 4th 10 03:25 PM
multiple data series in an x-y scatter chart - Excel 2003 Excel 2003 Charts and Charting in Excel 6 August 21st 07 12:38 AM
How to store the lengthy value in Series collection? ramkumar_cpt Charts and Charting in Excel 1 December 16th 05 01:16 PM
Changing source for series collection in charts JbL Excel Programming 1 October 12th 04 10:56 PM
Series Collection Points Bill[_28_] Excel Programming 12 September 29th 04 04:21 PM


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