Excel data does not retain its formatting in mail merge operations in Word (320473)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Office Word 2003
- Microsoft Excel 2002
- Microsoft Word 2002
This article was previously published under Q320473 SYMPTOMS If you perform a mail merge in Microsoft Word and you use a
Microsoft Excel worksheet as the data source for the recipient list, some of
the numeric data may not retain its formatting when it is merged.
This behavior applies to formatted percentages, currency values, and postal
codes, as shown in the following table:
Format In Excel data In Word MergeField
----------------------------------------------------
Percentage 50% .5
Currency $12.50 12.5
Postal Code 07865 7895
CAUSE This behavior occurs because the data in the recipient list
in Word appears in the native format in which Excel stores it, without the
formatting that is applied to the worksheet cells that hold the data.
RESOLUTION To resolve this behavior, use one of the following methods. Method 1Use Dynamic Data Exchange (DDE)
to connect to the Excel worksheet that contains the data that you want to use.
To do this, follow these steps:
- Start Word, and then open a new blank document.
- On the Tools menu, click Options, and then click the General tab.
- Click to select the Confirm conversion at
Open check box, and then click OK.
- On the Tools menu, point to Letters and Mailings, and then
click Mail Merge Wizard.
- In the Mail Merge task pane, select the type of document that you want to work on,
and then click Next.
- Under Select starting document, select the
starting document that you want to use, and then click Next.
- Under Select recipients, click Use
an existing list, and then click Browse.
- In the Select Data Source dialog box, locate the folder that contains the Excel workbook
that you want to use as your data source, select the workbook, and then click Open.
- In the Confirm Data Source dialog box, click MS Excel Worksheets via DDE
(*.xls), and then click OK.
- In the Microsoft Excel dialog box, under Named or cell range, select the cell
range or worksheet that contains the data that you want to use, and then click OK.
NOTE: Your data now appears in the Mail Merge Recipients dialog box with the same formatting that appears in the Excel
worksheet.
Method 2Format the Excel field that contains the ZIP Code/Postal Code as text. To do this, follow these steps: - In Excel, select the column that contains the ZIP Code/Postal Code field.
- On the Format menu, click Cells.
- Click the Number tab.
- Under Category, click Text, and then click OK.
- Save the data source. Then, continue with the mail merge operation in Word.
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
304387
Date, Phone Number, and Currency fields are merged incorrectly when you use an Access or Excel data source in Word 2002 or Word 2003
Modification Type: | Minor | Last Reviewed: | 1/9/2006 |
---|
Keywords: | kbformat kbprb KB320473 |
---|
|