Gracie, a few questions
Where do you put the destination field? This is table2.category
Note you've used the query syntax for 'If' (IIf), I thought vba required 'if, else' type code
Are you able to give an alternative based on a case statement rather than ifs
Cheers, Luigi