Yes/No data type exporting as True/False

G

Guest

I am exporting a table into an Excel file using the DoCmd.OutputTo code
below. The table is set up where if any orders were placed for this item it
appears as either Yes or No by setting up that field as a Yes/No data type.
The file exports to an Excel file, but the field that was Yes or No shows
True or False on the Excel file.

DoCmd.OutputTo acOutputTable, "Orders Y/N - Frozen Results", acFormatXLS,
"S:\Marketing\Void Reports\Report.xls", False

First time using the DoCmd.OutputTo code. Is there something I missed?
 
R

Ron Hinds

Supe said:
I am exporting a table into an Excel file using the DoCmd.OutputTo code
below. The table is set up where if any orders were placed for this item
it
appears as either Yes or No by setting up that field as a Yes/No data
type.
The file exports to an Excel file, but the field that was Yes or No shows
True or False on the Excel file.

DoCmd.OutputTo acOutputTable, "Orders Y/N - Frozen Results", acFormatXLS,
"S:\Marketing\Void Reports\Report.xls", False

First time using the DoCmd.OutputTo code. Is there something I missed?

You will need to change the formatting of that column in Excel. I suggest
asking how in an Excel group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top