Hello experts!
I used macro recorder to try to understand the vlookup function in vba. Can someone tell me how to have that same vlookup function where it looks at the whole column where there is data and stop when it hits the last cell. Also, the results of the vlookup populate in the corresponding cell. I hope this makes sense.
Here is the code the recorder populated:
Code
Range("J2").Select
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-9],'Worked Accounts'!RC[-9]:R[998]C,10,FALSE)"
Range("J3").Select
Any help would be appreciated.
Ken