WD: How to Use Microsoft Excel Data Source for Word Mail Merge

Last reviewed: March 6, 1998
Article ID: Q155179
The information in this article applies to:
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SUMMARY

This article describes three methods to attach a Microsoft Excel data source to a Word mail merge main document.

MORE INFORMATION

After you perform step 1 of the Mail Merge, use one of the following methods in step 2 of the mail merge to attach a Microsoft Excel worksheet.

Method 1: Access Microsoft Excel Worksheet with a Converter

NOTE: To use this method, the Microsoft Excel converter must already be installed. Microsoft Excel 97, version 8.0 only allows Entire Worksheet in the Name or Cell Range: option of the Open Worksheet dialog box.

  1. On the Get Data drop down list, click Open Data Source.

  2. Locate and select the Microsoft Excel file. Make sure that the Select Method box in the Open Data Source dialog box is selected.

  3. Click Open.

  4. In the Confirm Data Source dialog box, Select Microsoft Excel Worksheet via Converter.

  5. Click OK.

  6. In the Open Worksheet dialog box, select the Worksheet you want to merge and select the Entire Worksheet or Named or Cell Range. Click OK.

  7. Edit the main document and continue with the merge process.

Method 2: Access MS Excel Worksheets with DDE

Microsoft Excel must already be installed.

NOTE: Using DDE allows Word to see only Worksheet 1. If you choose to use the DDE option, start Microsoft Excel first, then open the workbook and move the desired sheet to the first position. To do this, drag the desired sheet to the first position on the sheet tab bar at the bottom of the current workbook. Save the Microsoft Excel workbook.

  1. From the Get Data drop down list, click Open Data Source.

  2. Locate and select the Microsoft Excel file. Make sure that the Select Method box in the Open Data Source dialog box is selected.

  3. Click Open.

  4. Select MS Excel Worksheets via DDE in the Confirm Data Source dialog box. Click OK.

  5. In the Microsoft Excel dialog box, select the Entire Spreadsheet or Named or Cell Range from the list. Click OK.

  6. Edit the main document and continue with the merge process.

Method 3: Access the Microsoft Excel Files with ODBC

The Microsoft Excel ODBC driver must already be installed.

Note: Using Microsoft Word 97, version 8 you will see all the tables in the workbook, not just the ones from the first sheet, in the Select Table dialog box.

  1. From the Get Data drop-down list, click Open Data Source.

  2. Locate and select the Microsoft Excel file. Make sure that the Select Method box in the Open Data Source dialog box is selected.

  3. Click Open.

  4. Select Microsoft Excel Files via ODBC in the Confirm Data source dialog box. Click OK.

  5. In the Select Table dialog box, specify the table from the list (which will only show the first worksheet in the workbook) or click Options and select System Tables, and specify the worksheet you want to use. Click OK.

  6. Edit the main document and continue with the merge process.

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q116470
   TITLE     : Sheet1 is the Only Microsoft Excel Sheet Available with
Word
               DDE

   ARTICLE-ID: Q141009
   TITLE     : How to Use Microsoft Excel 5 Worksheets as Data Documents
in
               Word for the Macintosh


KBCategory: kbinterop
KBSubcategory: kbmerge
Additional query words: word7 word95 mail merge mm mmh xl5 xl7 xl97
wks xls convert insert datafile data file database data base word97
Keywords : kbmerge word7 word95 kbualink97
Version : 7.0 7.0a 97
Platform : WINDOWS


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: March 6, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.