I need to declare a range object relative to the active cell. The problem is that the number of rows and columns I want to select is different every time I run the macro.
For example, I have two variables: numRows and numCols .
I want to select a range in which ActiveCell in the upper left corner has a cell with the row ActiveCell.Row + NumRows and the column ActiveCell.Column + NumCols in the lower right corner (and then I intend to copy this data to the array to speed up my macro).
Any suggestions on how to do this?
source share