Have an Excel spreadsheet containing names and addresses that I have linked to an Access database. Most zip codes are 5-digit, but a few are 9-digit with a "-" between the first 5 digits and the last 4. I have tried formatting the zip code column in the spreadsheet as Zip code + 4, Zip code, and Text. Zip code + 4 causes the zips that are only 5-digit to be preceded by a bunch of 0s, and when I link the spreadsheet to an Access database, the 0s still show and will (I assume) import that way into the table where I want to append them. The Zip code (5-digit) and plain Text formats allow the 5-digit codes to display properly, but all of the 9-digit zips display only "#Num!" in the linked spreadsheet.
I have tried googling for a way to fix this, but didn't find anything directly applicable. I would prefer not to have to go thru the process of separating the last 4 digits of the 9-digit zips into a separate spreadsheet column, add a field to the table to collect them, then after appending the records, write an update query that brings the codes back together (ugh!). Anybody know how to make 9-digit zips in a spreadsheet import properly into an Access table?
BTW, the format of the zip code field in the database is Text.
I have tried googling for a way to fix this, but didn't find anything directly applicable. I would prefer not to have to go thru the process of separating the last 4 digits of the 9-digit zips into a separate spreadsheet column, add a field to the table to collect them, then after appending the records, write an update query that brings the codes back together (ugh!). Anybody know how to make 9-digit zips in a spreadsheet import properly into an Access table?
BTW, the format of the zip code field in the database is Text.