I have a query in a database which I export to excel using the Docmd.Outputto function in VBA. This query has various data types in it. Unfortunately the resulting spreadsheet always formats the number values as dates instead of as numbers. To top it off, I set the formatting in the query itself, and just previewing the query the formats are right.
Has anyone heard of this? Is there a solution? I know that I can format the number using the format function, but that will leave me with text which cannot be manipulated easily in excel as numbers. Even the general format would be better than the date format.
Has anyone heard of this? Is there a solution? I know that I can format the number using the format function, but that will leave me with text which cannot be manipulated easily in excel as numbers. Even the general format would be better than the date format.