Export from access to excel
Posted on 2013-01-07
I have an access-table with many fields with a time format hh:nn:ss.
With a query i select the records that i want.
When i do an export to excel with code :
DoCmd.TransferSpreadsheet acExport, 8, stDocName, Pad, True, ""
then i get in excel 00:01/1900 08:30 and i see 00/01/1900.
What i want is to see 08:30.
When i export the table then everything is ok.
I have set the format to "Long Time" but that gives also the wrong result.
How can i solve this?