Hello! I have a formula in a macro, which is looking up an account number from spreadsheet A in spreadsheet B, and bringing back the address. If there is not an address on spreadsheet B for a particular account, then the formula is returning a "0", instead of NULL. How do I tell my formula to return a Null instead of a 0? Thank you for your help!
Here is my formula:
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-2],[address.xls]Sheet1!R2C1:R65536C12,6,FALSE)"
Bookmarks