Microsoft KB Archive/189022

= WD: How to Merge Envelopes and Labels If Records in One Column =

Article ID: 189022

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a

-



This article was previously published under Q189022





SUMMARY
Ordinarily, Word cannot merge with data when all the information is in one column, as in the following example:

John Doe

123 Main Street

Anytown, US 12345

Jane Smith

Microsoft

456 Elm Street

Sometown, US 67890

Word needs the information to be laid out in a table or in tab- delimited format. Normally, to perform a mail merge, you would have to first convert the text to a table to use as a data document. To convert the text, you need to have the same number of fields in each record. This becomes increasingly more difficult to accomplish with a large number of records.

This article provides simpler methods for use with envelopes and labels.

Note that these methods are useful only when you have an existing document that is laid out in one column and you don't need to merge the information in the future. Using a data document that is laid out in a table provides many more options for merging data, such as the ability to use one data document for merging to different types of documents.

For information on converting address information into the table or tab-delimited format that Word needs, please see the following article in the Microsoft Knowledge Base:

140344 WD: How to Convert Data in One Column to a Table for Merging



Method 1: For Both Envelopes and Labels
 Open the data document and make sure there is no information in the document other than the records and that the records are in the first format shown in the "Summary" section of this article. At the beginning of the records, add a line that says MergeRecords . Press ENTER twice so that there is a blank line between "MergeRecords" and the first record, for example:

MergeRecords

John Doe

123 Main Street

Anytown, US 12345

Jane Smith

Microsoft

456 Elm Street

Sometown, US 67890

 On the Edit menu, click Replace.

 Place the insertion point in the Find What box. Click Special and choose Paragraph Mark. Repeat the previous step so that ^p^p appears in the Find What box.</li> In the Replace With box, type an asterisk (*).</li> Click Replace All.</li> Click OK.</li> Click Close.

Your document should now look like the following:

MergeRecords*John Doe

123 Main Street

Anytown, US 12345*Jane Smith

Microsoft

456 Elm Street

Sometown, US 67890

</li></ol> </li> On the File menu, click Save As. Give the file a new name. Click OK.</li> On the File menu, click New to create a new, blank document. Click OK.</li> On the Tools menu, click Mail Merge.</li> In the Mail Merge Helper dialog box, click Create. Click either Envelopes or Mailing Labels.</li> Click Active Window.</li> Click Get Data. Select Open Data Source.</li> Select the data document that you saved in step 5. Click Open.</li> In the Field Delimiter box, select (none).</li> In the Record Delimiter box, select asterisk (*). Click OK.</li> Click Set Up Main Document.

If you are setting up Labels, make the appropriate selections in the Label Options dialog box that appears. Click OK.</li> Click Insert Merge Field. Only one field, MergeRecords, is available. Select this field. It appears in the Sample Label box.</li> Click OK.</li> <li>Click Merge.</li> <li>In the Merge To box, choose New Document or Printer. Click Merge.</li></ol>

The document should merge successfully.

Method 2: For Envelopes Only
In this method, you do not actually perform any merging. Instead, you reformat the document so that each address is on an envelope-sized page by itself. <ol> <li>On the File menu, click Save As. Give the file a new name. Click OK.</li> <li>Open the data document and make sure there is no information in the document other than the records and that the records are in the first format shown in the Summary section of this article.</li> <li>On the Edit menu, click Replace.

<ol style="list-style-type: lower-alpha;"> <li>Place the insertion point in the Find What box. Click the Special button and choose Paragraph Mark.</li> <li>Repeat the previous step so that ^p^p appears in the Find What box.</li> <li>Move the insertion point into the Replace With box. Click Special and choose Manual Page Break.</li> <li>Click Replace All.</li> <li>Click OK.</li> <li>Click Close.</li></ol> </li> <li>On the File menu, click Page Setup.</li> <li>Click the Paper Size tab.</li> <li>In the Paper Size list, select Envelope # 10.</li> <li>In the Orientation area, select Landscape.</li> <li>Click the Margins tab.</li> <li>Change the Margins to the following measurements:

Top: 2.5

Bottom: .5

Left: 4.0

Right: .5

</li> <li>Click OK. Each record is now on its own envelope.</li> <li>Click Print.</li></ol>

The envelopes should print successfully.

Additional query words: mmh merging print merge howto label

Keywords: kbhowto kbenvelope kbmerge kbprb KB189022

-

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

© Microsoft Corporation. All rights reserved.