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
How to convert this VB.NET code to VC# code?
MS Access table with variable number of fields - adding field values
.NET image resizing script for blog
Question about Win7 x64 and 32-bit programs.
SQL Delete Syntax
Trimming
GPO Server 2003 XP Pro Clients Wallpaper
Must declare the scalar variable?
How do I get Windows Server 2008R2 with Remote Desktop Services to use a Remote Desktop Client's audio hardware for VOIP?
Bulk Insert Excel spreadsheet