I am getting object required run-time error '424'.
Dim LastRowTwo As Long, TargetRange As Variant, ws As Worksheet
Set ws = Sheets("Reconciliation")
TargetRange = ws.Range("B2:B" & LastRowTwo)
With TargetRange
.Formula = "=IFERROR(VLOOKUP(A2, 'ATP Final'!$G:$G, 1, FALSE), ""N/A"")"
.Value = .Value
End With
How can I fix this error?