ACC: Export to MS Word for Windows Creates .txt Extension

Last reviewed: June 3, 1997
Article ID: Q109362
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0, 97

SYMPTOMS

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

Exporting a Microsoft Access table to a Microsoft Word for Windows merge file creates a text file with a .txt extension, instead of a Word for Windows document with a .doc extension, as you expect.

CAUSE

Microsoft Access cannot export data to Word for Windows native file format. However, the text file that is exported by Microsoft Access can be used by Word for Windows.

NOTE: In Microsoft Word version 6.0 or later, you can merge data directly from Microsoft Access without having to export the data into another file. For more information, consult the Microsoft Word documentation.

MORE INFORMATION

Steps to Reproduce Behavior

In Microsoft Access 7.0 and 97:

  1. Start Microsoft Access and open the sample database Northwind.mdb.

  2. Select any table, and then click Save As/Export on the File menu.

  3. Click To an External File or Database and then click OK.

  4. Select Microsoft Word Merge (.txt) in the Save as Type box, and then click Export. When the Text Export Wizard appears, click the Finish button. Note that the file you created has a .txt extension, not a .doc extension.

In Microsoft Access 1.x and 2.0:

  1. Start Microsoft Access and open the sample database NWIND.MDB.

  2. Select any table, and then click Export on the File menu.

  3. Select Word for Windows Merge (.txt) in the Data Destination box, and then click OK.

  4. Click OK in the Select Microsoft Access Object dialog box. Note that the file you created has a .txt extension, not a .doc extension.

REFERENCES

For more information about sharing information between Microsoft Word and Microsoft Access, search the Help Index for "external data, Microsoft Word."

You can also find more information about merging Microsoft Access data in Microsoft Word by searching the Microsoft Word 97 Help Index for "Microsoft Access, importing and exporting data," and then "Export Microsoft Access data to a Word document."


Keywords : IntpOthr kbinterop
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.