M
mike
i want to select certain columns and rows and use this
selection to create a chart. The selection is in a loop
and the cell locations will vary every time it is run.
Here's my code:
Worksheets(1).Range(Cells(startRow, 16), Cells(endRow,
18)).Select
where "startRow" and "endRow" are integers.
I always get the error that "Method 'Cells' of
object '_Global' failed" Am I using the wrong format for
the Range method?
thanks in advance
selection to create a chart. The selection is in a loop
and the cell locations will vary every time it is run.
Here's my code:
Worksheets(1).Range(Cells(startRow, 16), Cells(endRow,
18)).Select
where "startRow" and "endRow" are integers.
I always get the error that "Method 'Cells' of
object '_Global' failed" Am I using the wrong format for
the Range method?
thanks in advance