That's what happens with what I posted.
Try deleting the code and see what happens. Then type the code back in.
If you want to get around the #N/A error message, adjust the formulas as so:
=IF(ISNA(VLOOKUP(Lookup Range, Source Range, Column Index, FALSE)),"",VLOOKUP(Lookup Range, Source Range, Column Index, FALSE))
Smitty