Hi
Im trying to set a range to be used in a VLOOKUP function. I cant figure out why this isn't working...
The RowCount variable is holding an Integer.
Thank you in advance.
Im trying to set a range to be used in a VLOOKUP function. I cant figure out why this isn't working...
The RowCount variable is holding an Integer.
Code:
Dim MyRange as Range
Set MyRange = Worksheets("Anysheet").Range(Cells(2, 2), Cells(RowCount,5))
Thank you in advance.