Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Another problem with changeing a graph

Hi,

I used this code so I don't need to know the name of the
graph.

Sheets("Graph Book").Select
ActiveChart.Select
ActiveChart.SeriesCollection(1).XValues = Sheets
("Graph Data").Range("B1:IU1")

now I get this error
Unable to set the XValues property of the Series class

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default Another problem with changeing a graph

What kind of a chart is it?

Is there a worksheet named Graph Data?

What does B1:IU1 contain?

What kind of a sheet is Graph Book? How do you avoid knowing the name
of the chart?

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
Hi,

I used this code so I don't need to know the name of the
graph.

Sheets("Graph Book").Select
ActiveChart.Select
ActiveChart.SeriesCollection(1).XValues = Sheets
("Graph Data").Range("B1:IU1")

now I get this error
Unable to set the XValues property of the Series class


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
Print changeing one cell on form TLR400 Excel Worksheet Functions 1 February 13th 09 11:27 PM
changeing words conditional?? please help laandmc Excel Discussion (Misc queries) 3 August 27th 08 01:17 PM
Changeing keyboard shortcuts GKW in GA Excel Discussion (Misc queries) 1 December 27th 07 02:12 PM
Stop 10-6 from changeing to 6-Oct, or anything else. JadedMan Excel Discussion (Misc queries) 2 November 10th 07 06:57 PM
Changeing a graph Mark Scholes Excel Programming 1 February 11th 04 04:24 AM


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