I have this problem:
I want to import customers’ names, emails and their office code into my customers table.
Names & emails are fine (text), but in my database office field is number as lookup to OfficeID in office table.
So now I’d like to have formula or VBA code to check text filed of office (that was imported) in tempTable against records in office table and return OfficeID number in each record.
When I tried putting numbers (OfficeID) instead text in office code of tempTable I managed to imported in customers table without errors and now it shows text in it (I'm using drop-down menu).
I want to import customers’ names, emails and their office code into my customers table.
Names & emails are fine (text), but in my database office field is number as lookup to OfficeID in office table.
So now I’d like to have formula or VBA code to check text filed of office (that was imported) in tempTable against records in office table and return OfficeID number in each record.
When I tried putting numbers (OfficeID) instead text in office code of tempTable I managed to imported in customers table without errors and now it shows text in it (I'm using drop-down menu).