I have 2 tabs in an excel sheet and I have stored the last row of the column in LR1 variable I now want vlookup to perform the action everytime and take the range from "A1" TO "ALR1"
VBA Code:
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[-1],ProblemID_afterDupl!R2C1:R46C2,2,0)"