Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using Range names in selecting chart series.
Hi,
I have a range named DataCount. This will count the number of data points i have in a column. I would like to use this information when specifying the series range in chart. ActiveChart.SeriesCollection(1).Values = "='System 4'!R2C13:R35C13" In this example I need to substitute R35 with DataCount. What is the correct syntax? Thanks in advance, Cherrs! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using Range names in selecting chart series.
What kind of variable is DataCount? Is it a named range? A VBA
Excel.Range object? A string that contains an address? Does it reference R35 or R35C13? - Jon ------- Jon Peltier Peltier Technical Services, Inc. http://peltiertech.com/ GC wrote: Hi, I have a range named DataCount. This will count the number of data points i have in a column. I would like to use this information when specifying the series range in chart. ActiveChart.SeriesCollection(1).Values = "='System 4'!R2C13:R35C13" In this example I need to substitute R35 with DataCount. What is the correct syntax? Thanks in advance, Cherrs! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Selecting series in a chart based on a range and manual inputs | Excel Discussion (Misc queries) | |||
Need event for selecting a series on a chart | Excel Programming | |||
Is there a way to give range names (especially with relative reference) for series names and series values in Excel 2007 graphs? | Excel Programming | |||
Selecting part of a series for a chart? | Charts and Charting in Excel | |||
Selecting Multiple Chart Series | Excel Programming |