G
Guest
Hi all
I have used TransferSpreadsheet in VBA to export data from a query to Excel.
The cells are formatted to two decimal places with format([field],"fixed")
but Excel treats the data as text and therefore the alignment is incorrect.
Is there a way to make the data numeric so it lines up via the decimal point
without having to amend the spreadsheet manually after creation?
Thanks in advance for any help.
Sue
I have used TransferSpreadsheet in VBA to export data from a query to Excel.
The cells are formatted to two decimal places with format([field],"fixed")
but Excel treats the data as text and therefore the alignment is incorrect.
Is there a way to make the data numeric so it lines up via the decimal point
without having to amend the spreadsheet manually after creation?
Thanks in advance for any help.
Sue