Can any body point me in the right direction? I'm completely out of ideas.
I import an excel sheet with the following command
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "data", root & "tmp_Query_Output.xls", True
Works fine but for one issue.
I have 6 dates with time in this sheet. 4 come over fine 2 come over with only the date.
I do format the excel sheet seperately before the inputs to the proper date format. The database that receives the data is also set to general date.
But still 4 ok 2 only the date no time.
If I however attach the excel sheet to the db and then use an append query to the same table it works fine.
However I still would like the Transferspreadsheet cmd or at least understand why it doesn't work.
Any body??
I import an excel sheet with the following command
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "data", root & "tmp_Query_Output.xls", True
Works fine but for one issue.
I have 6 dates with time in this sheet. 4 come over fine 2 come over with only the date.
I do format the excel sheet seperately before the inputs to the proper date format. The database that receives the data is also set to general date.
But still 4 ok 2 only the date no time.
If I however attach the excel sheet to the db and then use an append query to the same table it works fine.
However I still would like the Transferspreadsheet cmd or at least understand why it doesn't work.
Any body??