Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
One line query on for loop assignment
I have a line
ActiveChart.SeriesCollection(i).Name = Sheets("Sheet1").Cells(j, 2) for assigning the legend name in a scatter chart which works correctly. I would like to assign .values from cells(j,1) to cells(k,1).. What is the correct syntax to do it? I get an error when I have a line like this. ActiveChart.SeriesCollection(i).Values = Sheets("Sheet1").Cells(j, 1):cells(k,1) Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Line Chart Query | Charts and Charting in Excel | |||
Do without loop when using query | Excel Programming | |||
LOOP query | Excel Discussion (Misc queries) | |||
Code bombing on Loop While line | Excel Programming | |||
Looping SQL query w/changing parameters in each loop not working | Excel Programming |