Beruflich Dokumente
Kultur Dokumente
Table of Contents
Overview .............................................................................................................................1
Objectives............................................................................................................................1
Mail Merge Wizard............................................................................................................2
Step 1 The Main Document - Form Letter ...................................................................5
Step 2 Select Data Source - Use an Existing List..........................................................6
Excel Data Source ....................................................................................................................... 7
Preserve Numeric Formatting from Excel................................................................................... 7
Overview
The mail merge feature in Word is a wonderful tool that can be used to create personalized mass
mailings. It can be used to produce form letters, envelopes and mailing labels. For example, a
mail merge can be used to create form letters to alumni, donors, or prospective students, along
with mailing labels.
A mail-merge operation consists of two parts: a main document (such as a form letter or
mailing labels) and a data source. The merge just brings the two together. The data source
can be a word table, excel spreadsheet, or an Access database. The data source can store just
about anything. Most commonly, names and addresses are stored.
The Main Document contains the boilerplate information, or standardized text that stays
the same in all the merged documents. It also contains merge fields, which are
placeholders that instruct Word where to insert the data source information when the
merge occurs.
The Data Source contains variable information, such as names of individuals, addresses,
etc., which will be different in each merged document. A data source can consist of a text
file, a list in an Excel spreadsheet, or an Access database table or query.
The Mailings tab on the ribbon provides you with the tools to merge the main document
and data source. You can use the buttons available in the Mailings tab on the ribbon, or
use the Mail Merge Wizard to walk you step by step through the process. Both methods
will be covered in this course.
Objectives
At the completion of this course, you will be able to:
Notice there is three worksheets in my workbook. The data resides in Sheet1. It will be
apparent why this is important later.
2. Go ahead and close the spreadsheet. This was just to familiarize you with how a data source
should be set up in a table format.
Start by opening your form letter or main document, and then run the mail merge wizard.
1.
3. In the Start Mail Merge Group, click the Start Mail Merge
button.
This opens the Mail Merge Task Pane alongside the form letter, as shown below.
5. Under Select Document Type you can create a Letter, E-mail message, Envelopes, Labels or
a Directory. A directory is used to create a list, in which merged information remains on the
same page as with a directory or address list. Each will give you slightly different options as
you walk through the steps. No matter which option you choose, the basic concept is still the
same.
For our example, since we are working on a letter, leave the Letters option selected.
6. Located at the bottom of the task pane under Step 1 of 6, click Next: Starting document.
6. The first row of the excel datasheet should contain the column headers or the field names.
Click OK.
7. This will open the Mail Merge Recipients dialog box, which can be used to sort and filter
data.
2. Click Advanced.
3. Scroll to the General section, and select the Confirm file format conversion on open check
box.
4. Click OK.
5. With the mail merge main document open, in the Start Mail Merge group of the
Mailings tab, click Select Recipients, and then click Use Existing List.
6. Locate the Excel worksheet in the Select Data Source dialog box, and double-click it.
7. In the Confirm Data Source dialog box, click MS Excel Worksheets via DDE (*.xls),
and then click OK.
Note: If you don't see MS Excel Worksheets via DDE (*.xls), select the Show all check
box.
8. In the Microsoft Office Excel dialog box, for Named or cell range, select the cell range
or worksheet that contains the information that you want to merge, and then click OK.
Note: To prevent being prompted every time you open a data file, you can turn off the
Confirm conversion at Open option after you have connected to the worksheet.
Sort Data
Sometimes you may want to sort by more than one field such as by last name then by first name.
1.
If you need to sort on more than one field, click on the drop-down arrow next to the column
heading, choose Advanced.
2.
3.
In the Filter and Sort dialog box click the Sort Records tab. Click the drop-down arrow
next to the Sort By box. Select a field name, such as Last Name. Stick with the default of
Ascending order, but note that you have the option to change it to Descending. In case there
are duplicates, you can use Then By to specify a third field to modify the sort. Click OK
and the records are sorted accordingly.
10
Filter Data
1. To filter data, click on the drop-down arrow next to the column heading, choose Advanced.
Or Click the Filter link under refine recipient list.
2. In the Filter and Sort dialog box, click on the Filter Records tab if you are not already there.
Click the Field list arrow and select the field name you want to create a filter for.
In this example select City. Under Comparison, make sure it says Equal To; and under
Compare To type Clifton Park. Yes, spelling matters!
5. To display all the cities and bring the data back to its original form, click on the drop-down
arrow next to the filtered value which in this case is city and choose All.
11
6. Click OK. You will be returned to the mail merge task pane.
2. Under step 3 or 6, click Next: Click Write you letter. This will entail entering the mail
merge field codes into the form letter.
12
13
If the Match Fields dialog box appears, Microsoft Word may have
been unable to find some of the information it needs for the address
block. Click the arrow next to (not matched), and then select the
field from your data source that corresponds to the address field.
14
Match Fields
Word will match the fields that you have in your data source to what it believes are the
corresponding fields that it has for the items. However, I have found that Word does not always
get the mapping correct.
1. For example, the address block uses the field name address where our excel spreadsheet uses
the field name Street, but they both correspond to the same thing.
2. In the example below, notice that there is no street address for Casey Amerster. Word did
not match our street field with its address field.
3. In this case we need to manually match Address 1 with the Street field.
4. Click Match Fields to make sure that all your fields correspond correctly with the Address
Block field codes.
15
6. Click OK. Now you have a Match! The Insert Address Block preview will reflect the
change.
16
3. Click OK.
4. A sample of the main document using address blocks and greeting line is shown below.
5. The next step is to Preview your letters, but first, inserting More Items or database merge
fields will be discussed.
17
More Items
Instead of using the address block or greeting line you may insert the merge codes directly from
your data source by selecting More items
More items displays the Insert Merge Field dialog box that allows you to select and insert
field names into your main document from an existing table or query in a database.
Do one of the following:
To select from address fields that will automatically map to corresponding fields in your
data source, even if the data source's fields don't have the same name as your fields, click
Address Fields.
To select the fields directly from a table or query, click Database Fields.
Address Fields - To
select from address fields
that will automatically
map to corresponding
fields in your data
source, even if the data
source's fields don't have
the same name as your
fields.
Database Fields - To
select the exact fields
from your data source.
Select and insert the merge fields into your form letter. Then click Close.
18
Once you insert all the fields, arrange them as you would want them to appear in the letter.
Remember that you have to provide the punctuation, if it isnt included in the data source.
Arranged, they it would look like the example is shown below. Remember to insert spaces
and the necessary punctuation!
19
Note: If the fields do not appear correctly, just click previous and make your changes.
20
21
Mailings Tab
This section will show how to perform a mail merge using the buttons on the mailings tab
instead of the mail Merge Wizard and use a Microsoft Access data source.
1. Using the buttons on the ribbon you would begin by clicking the Start Mail Merge button
and specify the type of main document you want to create, such as a form letter, mailing
labels, etc. and create your starting document.
2. Click Select Recipients to create or choose an existing data source file.
3. Insert the merge fields into your main document.
4. Preview your results and make any necessary changes.
5. Click Finish & Merge to complete the merge.
Exercise
1. Open the Word document named Form Letter Student Affairs.
2. Click the Mailings tab on the ribbon.
3. In the Start Mail Merge Group, click the Start Mail Merge button.
4. Select Letters. This instructs Word that you want to merge a letter.
22
5. In the Start Mail Merge Group, click the Select Recipients button.
6. Click Use Existing List.
7. The Select Data Source dialog box opens. Select the Access database named Address
List. Click Open.
23
24
2. Place the insertion point in the document where you want to insert a field. On the Ribbon
click the drop down arrow next to the Insert Merge Field button. The Insert Merge Field
dialog box appears containing a list of the field names from your database. Select and insert
the merge fields into your form letter as you would want them to appear.
3. Select the field to Insert. Continue to insert the desired fields and add the necessary
punctuation. A sample is shown below.
25
4. When you have finished inserting field codes, click the Preview Results
button in the
Mailings tab. This will display the main document as it will appear when merged with the
first record in the data source file.
5. Use the navigation buttons (First record, Previous Record, Go to Record, Next Record, and
Last Record) to preview other records from the recipient list. To use the Go to Record
highlight and type the number of the desired record and press Enter.
Previous Record
First Record
A sample is shown below.
Last Record
Go to Record
Next Record
26
6. After you make any desired changes you are ready to complete the merge. Click the Finish
& Merge button and then click Edit Individual Documents in the drop down list.
Note: You can also merge all or specified records to an Adobe PDF format.
7. At the Merge to New Document dialog box, select to merge all or specified records and then
click OK. This option will create a new word document with all of your merged form letters.
From this document you can print or edit the individual letters. You are done!
27
To create labels for a mass mailing you would also use the mail merge feature. Start with a
new blank document.
2.
3.
In the Start Mail Merge Group, click the Start Mail Merge button.
4.
Select Labels.
5.
In the label options dialog box select printer and label options. Under Label Information,
select the Label Vendor. This example will use Avery, which is a popular brand of labels.
6.
Under Product Number, scroll to find and select the appropriate label number. For this
example, choose 5160 Easy Peel Mailing Labels. Usually the Product number and Label
dimensions are provided on the product box to assist you in choosing the correct product
number. Click OK.
28
7.
8.
Click the Select Recipients button. In this example, select Use Existing List, to use a list
of names and addresses in an existing database to go with our form letter.
9.
In the Select Data Source dialog box, locate and select the appropriate file. Click Open.
10. In the Select Table dialog box that appears, select the table or query or Excel Sheet that
contains your data. Click OK.
29
11. Once you select a data source word inserts the <<Next Record>> merge field in the labels.
This default code is necessary so that Word picks up the next record in your data source.
12. In the first cell in the label template, click in the location where the recipients address
would appear. Insert the merge fields using the Address Block or field names directly
from the data source by using Insert Merge Fields drop down list as shown below.
13. Arrange the field codes and add the proper punctuation as you want it to appear on the
label.
14. Once you complete setting up the label you need to update all the labels with the same
format.
30
31
17. After you make any desired changes you are ready to complete the merge. Click the Finish
& Merge button and then click Edit Individual Documents in the drop down list. Print
Documents - Sends the job immediately to the printer, and prints out your labels.
8. At the Merge to New Document dialog box, select to merge all or specified records and then
click OK. This option will create a new word document with all of your merged labels.
From this document you can print or edit the individual letters. You are done!
9. Close and save the main document. Your labels are done!
Summary
This class covered how to perform a mail merge using a main document such as a form letter and
a data source in Access and Excel. We learned how to sort and query our data source to extract
specific information. Lastly, we covered how to create mailing labels. You can use the
traditional Mail Merge Wizard in the task pane or buttons in the Mailings tab to accomplish your
task. Use whatever method you feel more comfortable with.
32