Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changeing a graph
Hi,
I want to change a graph dynamicly, so it will graph only the range of value I which it too. Sheets("Graph Book").Select Charts("Chart 1").SeriesCollection(1).XValues = Sheets ("Graph Data").Range("B1:IU1") This give a subscript out of range error, how do I fix it. Thanks MarkS |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changeing a graph
Subscript out of range means one of the names you have in your code does not
exist. Example, you don't have a Chart 1 (maybe you have a Chart1 or it is no longer named chart 1. ) -- Regards, Tom Ogilvy Mark Scholes wrote in message ... Hi, I want to change a graph dynamicly, so it will graph only the range of value I which it too. Sheets("Graph Book").Select Charts("Chart 1").SeriesCollection(1).XValues = Sheets ("Graph Data").Range("B1:IU1") This give a subscript out of range error, how do I fix it. Thanks MarkS |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Print changeing one cell on form | Excel Worksheet Functions | |||
changeing words conditional?? please help | Excel Discussion (Misc queries) | |||
Changeing keyboard shortcuts | Excel Discussion (Misc queries) | |||
Stop 10-6 from changeing to 6-Oct, or anything else. | Excel Discussion (Misc queries) | |||
Changeing cell size in the middle of a worksheet | Excel Worksheet Functions |