Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Unable to set the formula property of the series class


Hi Guys,


I am struggling with one problem. I am trying to change formulae of
series in a chart using VBA code given below. But I am getting

'Runtime Error 1004, Unable to set the formula property of the series
class'


Code:
--------------------


ActiveChart.SeriesCollection(1).Formula = _
Replace(ActiveChart.SeriesCollection(1).Formula, "Sheet1", "test")


--------------------



Can anybody Please suggest some solution?

Thanks,

MHR


--
Malhar
------------------------------------------------------------------------
Malhar's Profile: http://www.excelforum.com/member.php...o&userid=36343
View this thread: http://www.excelforum.com/showthread...hreadid=561287

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8
Default Unable to set the formula property of the series class

Malhar....did you ever find a solution to this? I'm having same issue.
Thanks!

"Malhar" wrote:


Hi Guys,


I am struggling with one problem. I am trying to change formulae of
series in a chart using VBA code given below. But I am getting

'Runtime Error 1004, Unable to set the formula property of the series
class'


Code:
--------------------


ActiveChart.SeriesCollection(1).Formula = _
Replace(ActiveChart.SeriesCollection(1).Formula, "Sheet1", "test")


--------------------



Can anybody Please suggest some solution?

Thanks,

MHR


--
Malhar
------------------------------------------------------------------------
Malhar's Profile: http://www.excelforum.com/member.php...o&userid=36343
View this thread: http://www.excelforum.com/showthread...hreadid=561287


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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
how do i extend the series of a portion of a formula? fraustrated Excel Worksheet Functions 2 April 21st 05 10:07 PM
Series Formula Diego Maradona Excel Discussion (Misc queries) 7 February 14th 05 05:58 AM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


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