WD97: Cannot Select Named Range from Excel During Mail Merge (183417)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q183417 SYMPTOMS
When you perform a mail merge using a Microsoft Excel 97 worksheet as your
data source using the "Microsoft Excel Worksheet via Converter (*.xls;
*.xlw)" option, you will only be able to select the entire worksheet and
not a named range from Excel.
WORKAROUND
To use a named range from Excel during a mail merge within Word, use one of
the following methods.
Method 1: Connect to Excel 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.
To connect to Excel using DDE, follow these steps:
- Start the Mail Merge Helper.
- From the Get Data list, click Open Data Source.
- Locate and select the Microsoft Excel file. (In the Open Data Source
dialog box, make sure that the Select Method check box is selected.)
- Click Open.
- In the Confirm Data Source dialog box, select "MS Excel Worksheets via
DDE (*.xls)." Click OK.
- In the Microsoft Excel dialog box, select the "Entire Spreadsheet" or
"Named or Cell Range" option from the list. Click OK.
- Edit the main document and continue with the merge process.
Method 2: Connect to Excel with ODBC
The Microsoft Excel ODBC driver must already be installed.
NOTE: In the Select Table dialog box, you will see all the tables in the
workbook, not just the ones from the first sheet.
To connect to Excel using ODBC, follow these steps:
- From the Get Data list, click Open Data Source.
- Locate and select the Microsoft Excel file. In the Open Data Source
dialog box, make sure that the Select Method check box is selected.
- Click Open.
- In the Confirm Data source dialog box, select "Excel Files via ODBC
(*.xls)," and click OK.
- 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.
- Edit the main document and continue with the merge process.
Method 3: Save the Excel Worksheet in Excel 5.0/95 format
To save an Excel 97 worksheet in Excel 5.0/95 format, follow these steps:
- In Microsoft Excel, with the worksheet open, click Save As on the File
menu.
- In the Save As Type box, select Microsoft Excel 5.0/95 Workbook (*.xls).
- Click Save.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/14/2000 |
---|
Keywords: | kbbug kbmerge KB183417 |
---|
|