Hello,
I download a word document from are website and convert to a excel document. I then link this spreadsheet to an Access database and wish to compare the linked data to data held in the database for updates. The issue I am finding is the Mexican states are in a three letter abbreviation format, whereas the database has a table named tbllocations with states in a two letter format for Mexico. Also, I will add, the spreadsheet state names are not clean, they have full stops on some states.
This is where I need suggestions as to what is the best approach.
Would it be easier to convert within the excel spreadsheet the state codes and if so how to do this with VBA at a click of a button, or within Access after the spreadsheet has been linked and convert the state to what is in the tbllocation with a click of a button with VBA code. I could within Access create an update query for each variation but this does not seem too practical.
Also, I was not too sure if I should place this in the Access or Excel forum
Thanks
Bookmarks