Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 262
Default Problem error when creating a chart in VBA

Hello,
What would cause the following line...
ActiveChart.SeriesCollection(1).XValues = "=Sheet1!$R4$C3:$R44$C3"
to produce an error number 1004?

Thanks
Keith
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Problem error when creating a chart in VBA

Replace the chartname in the below
Charts("Chartname").SeriesCollection(1).XValues =
Worksheets("Sheet1").Range("C3:C44")
--
If this post helps click Yes
---------------
Jacob Skaria


"keith" wrote:

Hello,
What would cause the following line...
ActiveChart.SeriesCollection(1).XValues = "=Sheet1!$R4$C3:$R44$C3"
to produce an error number 1004?

Thanks
Keith

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 262
Default Problem error when creating a chart in VBA

HI Jacob,
Thanks very much.
Keith

"Jacob Skaria" wrote:

Replace the chartname in the below
Charts("Chartname").SeriesCollection(1).XValues =
Worksheets("Sheet1").Range("C3:C44")
--
If this post helps click Yes
---------------
Jacob Skaria


"keith" wrote:

Hello,
What would cause the following line...
ActiveChart.SeriesCollection(1).XValues = "=Sheet1!$R4$C3:$R44$C3"
to produce an error number 1004?

Thanks
Keith

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
Error Creating Chart jclark419[_7_] Excel Programming 1 July 25th 06 06:36 PM
Problem with empty cells when creating chart using vba Xavier Charts and Charting in Excel 2 April 17th 06 10:28 PM
Problem with creating chart within existing worksheet. 3PhaseMacroMan[_2_] Excel Programming 1 December 30th 05 07:28 PM
Creating Second Chart via Sub Procedure Error [email protected] Excel Programming 3 October 29th 05 01:42 PM
Creating Second Chart via Sub Procedure Error [email protected] Excel Programming 0 October 28th 05 08:59 AM


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