Since you all were such a big help with my problem yesterday, I have another question for you.
I have a v-lookup statement in my macro and it returns values and #N/A when there is no value, just as expected. The problem is, once I try to use the cells that now have data in them from the v-lookup the macro crashes when I reach a cell with #N/A in it. How can I get the v-lookup to return "" or "0" instead of #N/A? I've tried replacing it but no matter what I do, once I get to the #N/A value in a cell it crashes.
I have a v-lookup statement in my macro and it returns values and #N/A when there is no value, just as expected. The problem is, once I try to use the cells that now have data in them from the v-lookup the macro crashes when I reach a cell with #N/A in it. How can I get the v-lookup to return "" or "0" instead of #N/A? I've tried replacing it but no matter what I do, once I get to the #N/A value in a cell it crashes.