Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to adjust the series range as follows;
I have a cell with a range name "EndData". This will be used to set the end of the series for my line chart. The example below will select data from F5 to F22. I need to replace the 22 in F22 with my cell called EndData which could have a value of 50 for example. What would be the correct syntax? ActiveChart.SetSourceData Source:=Sheets("Data").Range("F5:F22"), PlotBy:= xlColumns Thanks a bunch, Gerry |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sheets("Data").Range("F5:F" & Range("EndData"))
Mike F "GC" wrote in message ... I need to adjust the series range as follows; I have a cell with a range name "EndData". This will be used to set the end of the series for my line chart. The example below will select data from F5 to F22. I need to replace the 22 in F22 with my cell called EndData which could have a value of 50 for example. What would be the correct syntax? ActiveChart.SetSourceData Source:=Sheets("Data").Range("F5:F22"), PlotBy:= xlColumns Thanks a bunch, Gerry |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Mike.
"Mike Fogleman" wrote in message ... Sheets("Data").Range("F5:F" & Range("EndData")) Mike F "GC" wrote in message ... I need to adjust the series range as follows; I have a cell with a range name "EndData". This will be used to set the end of the series for my line chart. The example below will select data from F5 to F22. I need to replace the 22 in F22 with my cell called EndData which could have a value of 50 for example. What would be the correct syntax? ActiveChart.SetSourceData Source:=Sheets("Data").Range("F5:F22"), PlotBy:= xlColumns Thanks a bunch, Gerry |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Graphs using indirect addressing | Charts and Charting in Excel | |||
Indirect Addressing in VBA | Excel Discussion (Misc queries) | |||
Indirect Addressing | Excel Discussion (Misc queries) | |||
Indirect addressing | Excel Programming | |||
Indirect addressing | Excel Programming |