Hello, everyone !
I need a macro that will select and copy a range within a worksheet. Now the range always starts in cell A22 and ends in column J, but in a different row, so could be A22:J40, A22:J67 etc. In a separate cell I have a formula that returns a value that I want to use as the cell reference for my second part of the range (if the cell value is 40, then my range will be A22:J40, if my cell value is 67, then my range should be A22:J67 etc.)
Or to paraphrase the question - how to select a range of cells using cell values as references for the range.
I hope this makes sense and thank you all for your time.
I need a macro that will select and copy a range within a worksheet. Now the range always starts in cell A22 and ends in column J, but in a different row, so could be A22:J40, A22:J67 etc. In a separate cell I have a formula that returns a value that I want to use as the cell reference for my second part of the range (if the cell value is 40, then my range will be A22:J40, if my cell value is 67, then my range should be A22:J67 etc.)
Or to paraphrase the question - how to select a range of cells using cell values as references for the range.
I hope this makes sense and thank you all for your time.