Can anyone help to fix this VBA? i am trying to have the formula below from cell X3 until the last row which have the data for the row.
Range("X3").Select
LastRow = Range("X3:X" & .Rows.Count).Formula = _
"=VLOOKUP(RC[-22],'User Data File Backup Old.csv'!C2:C23,22,0)"

Range("X3").Select
LastRow = Range("X3:X" & .Rows.Count).Formula = _
"=VLOOKUP(RC[-22],'User Data File Backup Old.csv'!C2:C23,22,0)"