I am trying to get a formula that does VLookup to place blanks if it errors out. This is wht I am trying to use:
This gives and "Application defind or oobject defined error."![]()
ActiveCell.FormulaR1C1 = "=IF(ISNA(VLOOKUP(RC[-2],VData2,6,FALSE)), "", VLOOKUP(RC[-2],VData2,6,FALSE))"
The following code works as a VLookup, but gives #N/A's.
Thank you.![]()
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[-2],VData2,6,FALSE)"
Bookmarks