Chapter 27
IN THIS CHAPTER
Understanding mail merge
Building the main document
Conjuring up a recipient list
Making a recipient list
Inserting fields into the main document
Previewing the results
Merging (the final act)
Here’s a little quiz: What do these things have in common? Rocket science. Quantum mechanics. Brain surgery. Levitation. The answer: They’re all a lot easier to accomplish than attempting mail merge in Word.
It’s not that mastering mail merge is impossible. True, it’s an ancient word processing tradition — something that just about everyone toys with at one time or another. Yet the way Word handles mail merge has been consistently frustrating. That’s why I wrote this chapter.
The term mail merge is given to the process of opening a single document, stirring in a list of names and other information, and then combining (merging) everything. The result is a sheaf of personalized documents. Sounds useful, right? Peruse this section before attempting the process on your own.
Like me, you probably have your own delightful, descriptive terms for the steps required and pieces necessary to complete a mail merge. Word's terms are different. Before taking the mail merge plunge, I recommend that you review the following jargon:
Main document: This document is just like any other document in Word, complete with formatting, layout, and all the fancy stuff that goes into a document. The document also contains various fill-in-the-blanks items, which is what makes it the main document.
Recipient list: This list contains the information that creates the customized documents. It’s a type of database, with rows and columns of information used to fill in the form letters.
Field: Each of these fill-in-the-blanks items inside the main document is a placeholder that will be filled in by information from the recipient list. Fields are what make the mail merge possible.
Getting these three elements to work together is the essence of mail merge. All the commands necessary are located on the Mailings tab. In fact, the Mailings tab’s five groups are organized from left to right in the order you use them. The remainder of this chapter describes the details.
The key to mail-merging is the recipient list. If you plan to create a mail merge as part of your regular routine, build a recipient list that you can use again and again.
You can use information from the Outlook program, also a part of Microsoft Office, as a recipient list for a mail merge in Word. This trick works best, however, when you’re in a workplace environment that features Microsoft Exchange Server. Otherwise, making Outlook and Word cooperate is a frustrating endeavor.
The typical mail merge involves five steps. These steps are presented in more detail throughout this chapter:
Build the main document.
Choose the document type, usually a letter, though other document types are listed in the nearby sidebar, “Mail merge document types.” As you create the document, you decide which fields are needed. That way, you can build an effective recipient list.
Create the recipient list — the data for the mail merge.
The recipient list is a table, consisting of rows and columns. Each column is a field containing information to go into the fill-in-the-blanks parts of the main document. Each row represents a different custom document created by the mail merge process.
Insert fields into the main document.
The fields are placeholders for information that is eventually supplied from the recipient list.
Preview the merge results.
You don’t just merge; first, you must preview how the document looks. That way, you can clean up any formatting, check for errors, and make other corrections.
Merge the information from the recipient list into the main document.
The final mail merge process creates the customized documents. They can then be saved, printed, emailed, or dealt with however you like.
The rest of this chapter covers the specifics.
If all this mail merge malarkey is just too intense for you, consider an alternative: Word offers the Mail Merge Wizard, which guides you through the entire ordeal one step at a time.
To run the wizard, click the Mailings tab and choose Start Mail Merge ⇒ Step-by-Step Mail Merge Wizard. You see the Mail Merge pane on the right side of the document’s window. Answer the questions, choose options, and click the Next link to proceed.
The rest of this chapter assumes that you’re crazy enough to do mail merge the macho way.
Mail merge begins with the main document. It’s the prototype for all the individualized documents you eventually create, so it contains only common elements.
The following sections discuss different types of main documents. Read the section that relates to the type of mail merge you’re attempting, and then proceed with the later section “II. The Recipient List.”
The most common thing to mail merge is the standard, annoying form letter. Here’s how you start that journey:
Start a new, blank document.
Press Ctrl+N.
Type the letter.
You’re typing only the common parts of the letter, the text that doesn’t change for each copy.
Type the fields you need in ALL CAPS.
This step is my idea, not Word’s. For text that changes for each letter, type in ALL CAPS. For example, FIRST NAME or HAT SIZE. Use short, descriptive terms. Figure 27-1 shows an example.
Save the main document.
If you already saved the document as you were writing it, give yourself a cookie.
After you create the letter, the next step is to create or use a recipient list. Continue with the section “II. The Recipient List,” a little later in this chapter.
To spew out custom email messages, use Word’s E-Mail option for mail merge. This option works only when you configure the Microsoft Outlook program on your computer. After that’s done, you start the main document for your email merge by obeying these steps:
On the Mailings tab, choose Start Mail Merge ⇒ E-Mail Messages.
Word changes to Web Layout view, used for creating Internet documents in Word.
If you anticipate inserting fields in the message, type them in ALL CAPS.
An email mail merge isn’t required to have fields in the document. Instead, email addresses are used to send out multiple copies of the message. If you plan to add fields, refer to Step 5 in the preceding section.
The primary field you use when merging an email document is the recipient’s email address. You can’t email-merge without it. Continue your mail merge adventure in the later section, “II. The Recipient List.”
To create a stack of mail merge envelopes, which is far classier than using peel-and-stick mailing labels, abide by these steps:
On the Mailings tab, choose Start Mail Merge ⇒ Envelopes.
The Envelope Options dialog box appears. You can set the envelope size and font options, if necessary.
Click OK.
Word’s window changes to reflect a typical envelope, a size specified in the Envelope Options dialog box (from Step 2).
Edit or create the return address.
If you desire a return address and one isn’t added automatically, type it in.
Press Shift+Enter to place a soft return at the end of a line in the return address. The soft return keeps the lines in the return address tightly together.
That’s pretty much it for a mail merge envelope. Not readily visible in the envelope document is a large text box (lower center). This location is where fields for the recipient’s name are inserted.
Your next task is to use the recipient list to gather the information for your mailing. Keep reading in the next section.
To make mail merge work, you need a list of items to merge, rows and columns, as in a database. This information, called the recipient list, contains the field data used to create the individual documents, email messages, envelopes, and so on.
Your options include building a new recipient list, reusing an existing list, and pulling in information from the Outlook program.
I enjoy writing a mail merge main document. I do not look forward to building the recipient list. It’s time-consuming, data-input drudgery. Still, it beats creating multiple individual documents, which is the point of a mail merge.
Four steps are involved to build a recipient list:
The last step is the most time-consuming. If you’re an intern at a major organization, Step 4 is why you were given the mail merge task.
Before you can create a new recipient list, you must have created and saved the main document. Specific steps are provided in the earlier section “I. The Main Document.” Creating the recipient list works the same, no matter which mail merge document type you created. Follow these steps:
In the Start Mail Merge group, choose Select Recipients ⇒ Type a New List.
You see the New Address List dialog box.
The New Address List dialog box comes prestocked with fields, which you see marching atop the dialog box (Title, First Name, Last Name, and so on). If you can use these, great! Otherwise, you must add fields not already present.
Follow these steps in the New Address List dialog box:
Click the Customize Columns button.
The Customize Address List dialog box appears.
Click the Add button.
The teeny Add Field dialog box pops into view.
Type the field name and click the OK button.
Follow these rules for naming fields:
Repeat Steps 2 and 3 for each new field you need in the main document.
The list of fields should match with the list of ALL CAPS text in the main document (if you chose to create them). Don’t worry if it doesn’t — you can add fields later, though it takes more time.
Click OK.
You now see customized fields as column headings in the New Address List dialog box.
Removing unnecessary fields is optional, but I include it out of spite: The New Address List dialog box comes with a basic assortment of fields. If you don’t need them, remove them. Or you can skip ahead to the next subsection, “Add recipient data.”
To remove extra fields from the New Address list dialog box, heed these steps:
Click the Customize Columns button.
The Customize Address List dialog box appears, displaying fields that Word assumes you need. Such foolishness cannot be tolerated.
Click to select a field that you do not need.
When you’re merging an email message, you need the E-mail Address field, whether it appears in the message body or not. Word uses this field so that it knows where to send the message. Don’t delete the field!
Click Yes in the confirmation dialog box.
The keyboard shortcut for the Yes button is the Y key.
Repeat Steps 2–4 for each field you don’t need.
Be careful not to remove any fields you added!
When you’re done, the New Address List dialog box should contain only those fields you need, those for which placeholders are found in the main document.
After customizing the fields, your final job is to fill in the recipient list. You need to input records, one for each document you plan to create. Perform these steps in the New Address List dialog box:
Type the first record’s data.
Type the information that’s appropriate to each field: name, title, evil nickname, planet of origin, and so on.
Press Tab to move to the next field.
After filling in the last field, you’ll probably want to add another record:
To add a new record, press the Tab key after typing in the last field.
When you press the Tab key in the last field in a record, a new record is automatically created and added on the next line. Keep filling in data!
Review your work when you're done.
Figure 27-2 shows a completed recipient list.
To edit any field, click to select it.
If you accidentally add a blank record at the end of the list, click to select it and then click the Delete Entry button. You do this because blank records are still processed in a mail merge, which results in wasted paper.
Click OK.
The Save Address List dialog box pops up, allowing you to save the recipient list.
The recipient lists dwell in the folder named My Data Sources, found in the Documents or My Documents folder. Word automatically chooses (or creates) this folder.
Type a name for the address list.
Descriptive names are best. After all, you might use the same recipient list again.
Click the Save button.
You return to the main document.
The next step in your mail merge agony is to stir the fields from the recipient list into the main document. Refer to the section “III. Fold in the Fields,” later in this chapter.
To use an existing recipient list for your mail merge, follow these steps after creating the main document:
From the Mailings tab, choose Select Recipients ⇒ Use an Existing List.
The Select Data Source dialog box appears. It works like the Open dialog box, though it’s designed to display recipient lists that Word can use or that you previously created and saved.
Look for recipient lists in the My Documents folder, in the My Data Sources subfolder.
Choose an existing recipient list from the displayed files.
I hope you used a descriptive name when you first saved the recipient list, which I recommend in the preceding section.
That’s it: The recipient list is now associated with the main document.
Refer to the later section “III. Fold in the Fields” for information on inserting fields into your document, which is the next step in the mail merge nightmare.
Assuming that you use Microsoft Outlook, and further that you have access to Exchange Server, you can follow these steps to create a recipient list:
In the Select Contacts dialog box, choose a contact folder.
Contact folders are created in Outlook, not in Word.
Use the Mail Merge Recipients dialog box to filter the recipient list.
If the list isn’t too long, remove the check marks by the names of the individuals you don’t want in the list. You can also click the Filter link in the dialog box to do more advanced filtering, which I’m loathe to describe right now.
If you were sloppy when you created it, or new information has been acquired, you may need to edit the recipient list. Heed these directions:
On the Mailing tab, in the Start Mail Merge group, click the Edit Recipient List button.
The button isn’t available unless you’re working on a main document and it has been associated with a recipient list: Click the Select Recipients button and choose Use an Existing List.
Select the data source.
In the lower left corner of the Mail Merge Recipients dialog box, click the data source filename.
Click the Edit button.
You can now use the Data Form dialog box to edit each record in the recipient list, to add or remove fields, and to perform other chaos:
This process may not be without its hiccups. The file may be “in use” or unavailable to edit. You may be prompted to save the recipient list before editing.
Now that you have the main document and the recipient list ready to go, you must replace your silly placeholders with the actual mail merge fields. Obey these directions:
Position the mouse pointer where you want the field to appear in the main document.
If you followed my advice from the earlier section “Creating a mail merge form letter,” select a placeholder, such as FIRST NAME.
On the Mailings tab, click the Insert Merge Field button.
When the Insert Merge Field button isn’t available, a recipient list isn’t associated with the document. See the earlier section “II. The Recipient List.”
Choose the field to add to the main document.
For example, choose the First Name field to stick it into the document.
After the field is inserted, you see its name hugged by angle brackets, similar to this:
«First_Name»
If the field doesn’t look like this, press Alt+F9 to toggle the field codes from the raw format to the angle bracket presentation.
Repeat Steps 1–3 to add fields to the document.
When adding fields to an address, press Shift+Enter to end each line.
Save the main document.
Always save! Save! Save! Save!
The next step in your journey is to preview the results and fix any mistakes. Keep reading and continue with the next section.
Rather than just plow ahead with the merge, take advantage of the buttons in the Mailing tab’s Preview Results group. That way, you can peruse the merged documents without wasting a lot of paper.
To preview, click the Mailings tab, and in the Preview Results group, click the Preview Results command button, shown in the margin. The fields in the main document vanish! They’re replaced by information from the first record in the recipient list. What you see on the screen is how the first customized mail merge document appears. I hope everything looks spiffy.
Use the left and right triangles in the Preview Results group to page through each document. As you page, look for these problems:
To fix any boo-boos, leave Preview mode: Click the Preview Results button again. Edit the main document to correct the mistakes. Then repeat the preview process.
Once everything looks up to par, you’re ready to perform the merge, covered in the next section.
The final step in the mail merge ordeal is to create personalized documents. The gizmo that handles this task is the Finish & Merge command button (shown in the margin), which is the sole item in the Finish group on the Mailings tab. This section describes how to use that button to complete the mail merge.
When you want to save merged documents and print them, follow these steps:
Choose Finish & Merge ⇒ Edit Individual Documents.
The Merge to New Document dialog box appears.
Click OK.
Word creates a new document — a huge one that contains all merged documents, one after the other. Each document copy is separated by a Next Page section break. (See Chapter 14 for more information on section breaks.)
At this point, you can print the document, close it and edit it later, or do anything else you like.
The most common destination for merged documents is the printer. Here’s how it works:
Choose Finish & Merge ⇒ Print Documents.
A dialog box appears, from which you can choose records to print.
Choose All from the Merge to Printer dialog box to print the entire document.
Or specify which records to print.
Click OK.
The traditional Print dialog box appears.
See Chapter 9 for more information on printing documents in Word.
To send out multiple email messages, abide by these steps:
Choose Finish & Merge ⇒ Send Email Messages.
The Merge to E-Mail dialog box appears.
Choose the email address field from the To drop-down list.
Your document’s recipient list must include an email address field, though the field doesn’t need to be set within the document. If the recipient list doesn’t contain the email address field, go back and edit it to include the email address field.
Click OK.
It looks like nothing has happened, but the messages have been placed in the Outlook outbox.
Open Outlook.
After you open Outlook, the queued messages are sent, or they sit ready to be sent when you give the command. (Whether the messages are sent right away depends on how you configured Outlook.)
Yes, this trick works only with Outlook, not with any other email programs.
3.137.217.41