ACC: Output to XLS Changes Text to Scientific Notation NumberID: Q180590
|
Novice: Requires knowledge of the user interface on single-user computers.
When you output a Microsoft Access report to Microsoft Excel file format, a
text string that is made up of both alphabetical and numeric characters may
be changed to a number, and this number may appear in scientific notation
when you open the spreadsheet file in Microsoft Excel. You may also see
this behavior when you click the Analyze It With MSExcel button while you
are previewing a report.
In some cases, Microsoft Access may recognize a text string as a hexadecimal number when it outputs a report to Microsoft Excel (*.xls) file format. The problem can occur with a text string containing the letter "e" in a Microsoft Access 2.0 report, or with a text string containing the letter "d" or the letter "e" in a Microsoft Access 97 report.
Note that you may also see this behavior when you try to save a report as a spreadsheet file by opening it or selecting it in the Database window, clicking Save As/Export on the File menu, and then choosing To An External File or Database. Because this problem occurs whenever you try to save a report as a spreadsheet file, you should export the underlying table or query to Microsoft Excel if possible. To export a table or query to Microsoft Excel, follow these steps.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
This problem occurs regardless of the version of Microsoft Excel that you are using.
Save the table as tblToXLS. When prompted to create a primary key, click No.
Table tblToXLS Field Name TextTest Data Type Text Indexed No
TextTest
--------
20b070
20c070
20d4
20e070
20f070
Additional query words: save export exponential
Keywords : IntpOthr OtpExl
Version : WINDOWS:2.0,97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 4, 1999