Sub InsFmla()
Dim LR As Long, LC As Integer
LR = Cells(Rows.Count, "A").End(xlUp).Row
LC = Cells(1, Columns.Count).End(xlToLeft).Column
Range(Cells(2, LC + 1), Cells(LR, LC + 1)).Formula = "=VLOOKUP(A2,Attempts!$A:$B,2,FALSE)"
End Sub
Sub InsFmla()
Dim LR As Long, LC As Integer
LR = Cells(Rows.Count, "A").End(xlUp).Row
LC = Cells(2, Columns.Count).End(xlToLeft).Column
Range(Cells(2, LC + 1), Cells(LR, LC + 1)).Formula = "=VLOOKUP(A2,Attempts!$A:$B,2,FALSE)"
End Sub