G
Guest
I have a query that I export (transferspreadsheet) to Excel. It has a column
explicity defined (using the property sheet for the column, in the query
itself) as currency, 4 decimal positions. That's also how the column is
defined on the table the query references.
In Excel, the column shows up formatted as currency, 2 decimal positions.
In another post, I noticed Ken Snell recommending the following to preserve
formatting when exporting a time column to Excel:
MyTimeField: Format([TimeFieldName], "hh:nn")
I figured that would do the same thing as I was doing by using the property
sheet, but I tried it anyway. It did. Same result. 2 decimal places, not 4.
However, the data was not truncated. For example, $12.1234 shows as $12.12.
But when I reformat the column from within Excel itself, the unrounded data
pops out, and I see $12.1234.
Any ideas on how to override Excel's default for currency fields of two
decimal places?
explicity defined (using the property sheet for the column, in the query
itself) as currency, 4 decimal positions. That's also how the column is
defined on the table the query references.
In Excel, the column shows up formatted as currency, 2 decimal positions.
In another post, I noticed Ken Snell recommending the following to preserve
formatting when exporting a time column to Excel:
MyTimeField: Format([TimeFieldName], "hh:nn")
I figured that would do the same thing as I was doing by using the property
sheet, but I tried it anyway. It did. Same result. 2 decimal places, not 4.
However, the data was not truncated. For example, $12.1234 shows as $12.12.
But when I reformat the column from within Excel itself, the unrounded data
pops out, and I see $12.1234.
Any ideas on how to override Excel's default for currency fields of two
decimal places?