Microsoft KB Archive/253639

= ACC2000: Microsoft Access Report Totals Are Missing When You Export Report to Microsoft Excel =

Article ID: 253639

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q253639



Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).



SYMPTOMS
When you export a report that contains totals to Microsoft Excel, the total fields are missing in Excel.



RESOLUTION
An alternative method is to save the report to Rich Text Format (RTF), to open it in Microsoft Word, to copy the data, and then to paste the data into Excel. For an example of how to do so, follow these steps:
 * 1) Open the sample database Northwind.mdb.
 * 2) In the Database window, click Reports, click the Employee Sales by Country report, and then click Preview.
 * 3) When you are prompted for the date parameters, type the following dates:
 * 4) * Beginning Date: 8/1/96
 * 5) * Ending Date: 8/30/96
 * 6) On the File menu, click Export.
 * 7) In the Save as type list, click Rich Text Format.
 * 8) Make note of the folder to which you are saving the report, and then click Save. Note also that the name that Access assigns to the saved report is "Employee Sales by Country.rtf."
 * 9) Quit Access, and then start Microsoft Word.
 * 10) In Word, on the File menu click Open.
 * 11) Browse to the folder in which you saved the "Employee Sales by Country.rtf" file, and then open it.
 * 12) On the Edit menu, click Select All.
 * 13) On the Edit menu, click Copy.
 * 14) Start Microsoft Excel, and then open a new workbook or open a clean sheet in an existing workbook.
 * 15) On the Edit menu, click Paste.

Note that Excel displays all the data, including the totals.



STATUS
Microsoft has confirmed that this is a problem in Access.



Steps to Reproduce Behavior
 Open the sample database Northwind.mdb. In the Database window, click Reports, and then click the Employee Sales by Country report. When you are prompted for the date parameters, type the following dates:

 Beginning Date: 8/1/96  Ending Date: 8/30/96 </li></ul>

Note that the report displays a total for each employee.</li> On the File menu, click Export.</li> In the Save as type list, click Microsoft Excel 97-2000.</li> Make note of the folder to which you are saving the report, and then click Save. Note also that the name that Access assigns to the saved report is "Employee Sales by Country.xls".</li> Quit Access, and then start Excel.</li> In Excel, on the File menu click Open.</li> Browse to the folder in which you saved the "Employee Sales by Country.xls" file, and then open it.</li></ol>

Note that the employees' totals are missing.

Additional query words: pra directory do not gone there didn't get exported transferred don't show up vanished

Keywords: kbbug kbfix KB253639

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.