Preserving leading zeros in exported text

S

S Suddes

Am unable to preserve leading zeros when exporting
formatted text data in an Access table/query data to
either CSV or Excel spreadsheet.

Suggestions?
Thanks
 
K

Ken Snell

For .csv export, you need to set up an export specification that will export
the text-formatted numbers as text, otherwise when you open the .csv file
(likely in EXCEL), they will be seen as numbers. When you're doing a manual
export, in the wizard window, click the Advanced button and set up the
specification; then save it with a name. Use that name as the Export
Specification argument for the TransferText command (or in the Advanced
window during a manual export, select that specification).

For TransferSpreadsheet or a manual export to EXCEL, you must have the field
in the query that you export be formatted as text.
 

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