Hi Friends,
I was run the Vlookup vba code if any error throw the same lookup (First) value that value
highlighted any one color. but error appeared
Please find below mention code.
highlighted error bold letter
Code:
sub aa()
Range("a:a") = Application.IfError(Application.WorksheetFunction.VLookup(Range("a:a"), _
Worksheets("Sheet2").Range("A1:C10"), 1, False), Range("a:a").Font.ColorIndex = vbRed)
end sub
Kindly help me
Regards,
Saran.K
I was run the Vlookup vba code if any error throw the same lookup (First) value that value
highlighted any one color. but error appeared
Please find below mention code.
highlighted error bold letter
Code:
sub aa()
Range("a:a") = Application.IfError(Application.WorksheetFunction.VLookup(Range("a:a"), _
Worksheets("Sheet2").Range("A1:C10"), 1, False), Range("a:a").Font.ColorIndex = vbRed)
end sub
Kindly help me
Regards,
Saran.K