A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access to a series, when it is assigned to an empty range



 
 
Thread Tools Display Modes
  #1  
Old March 17th, 2010, 07:48 PM posted to microsoft.public.excel.worksheet.functions
Werner Rohrmoser
external usenet poster
 
Posts: 46
Default Access to a series, when it is assigned to an empty range

Hello,

I'd like to get access to a chart series via vba.
This works fine with
ActiveChart.SeriesCollection(1).Values =
"='" & ActiveWorkbook.Name & "'!" &
Diagramm1.Range("Chart1_Series1").Value
this is a reference to a named range.
So, if I assign the series to a range with values I can change the
series to another range afterwards.
But if I once have assigned a series to an empty range I do not have
access to the chart series any more.
The error message is:"unable to set the values property of the series
object"
Only manually it's possible to reactivate this series, then I can
continue to run vba

Does anyone have a workaround?

Excel XP SP 3
Windows XP SP 3

Regards
Werner
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:49 PM.


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