Hi Bernadette R
From your description, it sounds like the issue is caused by the date column containing a mix of different underlying data types, specifically Excel serial numbers and text-based date formats (such as m/dd/yyyy or mm/dd/yyyy).
Even though they may appear consistent after applying formatting in Excel, the underlying values can still differ. When the file is saved as CSV, those differences are preserved, and Access expects a single consistent data type for each field. This is why the TypeConversionError occurs during import.
To resolve this, you may consider normalizing the dates in Excel before exporting the file. One approach is to create a helper column that converts all values into true Excel date values, for example:
=IF(ISNUMBER(A2), DATE(1900,1,1)+A2-2, DATEVALUE(A2))
After filling this down:
- Copy the new column and paste it as values
- Replace the original column with this cleaned version
- Save the file again as CSV
Once all entries are consistent date values, the import into Access should complete without errors.
Alternatively, if modifying the CSV is not feasible, you could import the column as Text in Access first and then convert it to Date/Time using a query (for example, using CDate).
Please feel free to share any updates from your side, and if I’ve misunderstood anything in your scenario, kindly let me know
And if possible, please share a sample copy of your database file via private message so I can better understand your setup and provide more accurate assistance.
Hope my answer will help you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.