Hi All,
I'm trying , if vlookup value found #N/A in any row then code should be stop and display msg with error row number.
Sub nam()
Dim x As Long
x = Range("g" & Rows.Count).End(xlUp).Row
Range("N2:N" & x).FormulaR1C1 = "=VLOOKUP(RC[-7],br_name,3,0)"
End Sub
I'm trying , if vlookup value found #N/A in any row then code should be stop and display msg with error row number.
Sub nam()
Dim x As Long
x = Range("g" & Rows.Count).End(xlUp).Row
Range("N2:N" & x).FormulaR1C1 = "=VLOOKUP(RC[-7],br_name,3,0)"
End Sub