Microsoft
Software
Hardware
Network
Question : Excel dates going into ms Access as number
Oh dates :-( dates in excel and access make me sad! ;)
So, for some reason I have a column which contains dates... some appear to be dates but are actually text (=ISTEXT() function gives TRUE) and the others appears to be dates and they are numbers (=ISTEXT() function give FALSE - so I think this means that they really can be dates).
So, problem is when importing that column to MS Access. The dates formatted as text appear correctly in Access (Access decides this is a text column) and dates formatted as number come in as a number.
Either way, it doesn't work properly, and neither are in date/time format in access.
So (1) how can i get them to all go into access as text and in the right format and (2) how can I get them all to go in as a real date/time and for Access to choose 'Date/Time' as the column format instead of deciding it must be Text.
I don't know what's happened here but actually it kind of looks like wherever the source was, it was in american date format, and then downloaded to excel with european date format... so now it is not possible to change the date format. I'm not totally sure what to do with that, is is possible to specify that the date is american and convert it to european?
Answer : Excel dates going into ms Access as number
I tried the attached trick. See column B.
Excel-Dates.xls
(23 KB)
(File Type Details)
Formatted date
Random Solutions
Drop Down List and Back Button on Browser - Losing state?
Outlook problem with error 0x80040154 (and others) -- inetcomm issue?
Finding Null in a memo field and what event to use to check the related box
Icons from Start>All Programs have disappeared
Automatically close Outlook on log off or shutdown
Validating users with three level security
multi-user MS Access Application
How do I declare and set variables for the Caption propery of a field in MS Access 2003 Database? (VBA)
Making a chart see a #DIV/0! error as an empty cell
Is it possible to enlarge old DOS applications running on Windows XP for easier viewing?