Mail merge labels with Word XP
 

The great Christmas card debacle of 2002 demonstrated to many people what a dog's breakfast Microsoft have made, of what was a relatively simple procedure in Word 97/2000 …. the Word 2002 mail merge to mailing labels.

The interface has been completely redesigned, and simple functions have been replaced with unnecessary complexity. For those struggling to make sense of the new 'features' Suzanne Barnhill has produced a document on her web site that will help restore the old ways of doing things. Below, there follows a pictorial walk-through of some of the more salient points.

Mail merge toolbar
Struggle with the complexities of the mail merge wizard and its task panes by all means, but the following method means constructing the labels from the mail merge toolbar, so start by adding the toolbar:

If you merge regularly, you may find it worthwhile to use a small macro activated by a toolbar button to toggle the mail merge toolbar on and off. The code for that would be as follows:

Sub MergeBar()
With CommandBars("Mail Merge")
.Visible = Not .Visible
End With
End Sub

If unfamiliar with the use of macro listings, follow this link for instructions.

The capability to merge from Outlook isn’t available in the Mail Merge toolbar by default. To add this capability, drag the MailMergeUseAddressBook command (from the All Commands category in Tools > Customize) to the toolbar as shown below.

Create the merge layout document
 

Click the leftmost icon to choose the document type - here labels, then click OK.

 

This provides the opportunity to pick the label type that matches your label stock, or even to create your own layout for some obscure label variety that does not match one of the many pre-configured types.

 

Assenting to the label choice produces a page comprising an empty table ready to receive your layout.

Choose the data source
 

Word can use a wide variety of data sources. By default Word 2002 will try and connect to a data source in the 'My Data Sources' folder. This will not help much if the data source is an Outlook Contacts' list or a Word or Excel document, for example, in some other folder. Don't be thrown by the two default entries shown in the illustration below.

 

Excel data
  Word XP has introduced further complications for those merging from Excel data. In earlier versions of Word connection to the data file was by DDE. Microsoft has replaced this default setting by a new OLEDB connection method. This has benefits and drawback. The benefits are that Word can now connect to client/server databases such as SQL or Oracle without resorting to an intervening interface such as MSQuery.

One downside is that OLEDB provides direct access to the data and thus Word is expected to provide the formatting. You can often work round this by applying formatting to the fields in Word. or you can revert to the earlier DDE connection method.

In order to do this, you need to make a change to one of the Word options settings ie Tools > Options > General > Confirm conversion on open.

 

This provides the opportunity, when connecting to an Excel data file, to select the type of connection, from which you can select DDE, whereupon the connection should behave as it had in earlier versions of Word.

Other data sources
 

If you are not creating a new data source then simply steer to the folder that contains the data file you wish to use or refer back to the mail merge toolbar and click the option to use the Address Book. The available address books, including Outlook will be listed. Note that as this function is closely tied to the e-mail function, address books must be from MAPI compliant applications to be available here. Outlook Express is not a MAPI complaint address book.

Insert the fields

Having picked the address book or data file you wish to use, Word will verify the data file, read the field names and insert 'Next Record' fields in all the cells except the first.

 

You can ignore all the cells, except the first, for that is where we are going to build our label. On the toolbar, click the icon to the left of 'Insert Word Fields'. This will produce a drop-down menu listing all the available data fields in the chosen data file. Select the fields that you want to use and insert them. Don't worry about placement at this stage, just pick the required fields.

 

The result will be that in the left illustration below. You can then move the fields around to give you the required spacing and position as in the illustration on the right.

          

 

Earlier versions of Word allowed you to pick the fields individually. This option is still available, although by default Microsoft has not added the appropriate tool to the toolbar. If you click the tiny down-arrow at the extreme right hand end of the merge toolbar and select 'add or remove buttons', the missing command is unchecked at the bottom of the list. Check it, select 'customize', then drag it to a position of your choice. Here I have placed it to the right of the new command:

 

This provides the familiar insertion tool below. Whichever you use, the object is to produce the layout shown in the right hand image above.

NB

If you want to add graphics to the label, then see Graphics on Labels.

If you want serial numbers, then see Numbered Labels.

 

All that remains, is to reproduce the finished layout in the other cells. The highlighted icon in the toolbar below, will 'propagate' the data into the remaining labels with the correct insertion of the 'Next Record' field at the start of the subsequent labels.

Merge the data

or

 

Merge to a new document to check the results, or, if confident of those results, merge directly to the printer. If you print and produce only one page of labels, when you think you should have more, please go back and re-read the instructions, for you have not completed the merge, but have printed the merge layout document..

The merge layout document is now complete and can be saved for next time.

Note

When merging from Outlook, the Outlook data is converted to a temporary file. This file will no longer be available next time you come to use the merge document. There are two suggested solutions. One is to detach the data source before finally saving, then re-attach it next time; the other is to begin the merge process from within Outlook itself, as that not only provides access to all the fields, and enables you to be selective about which records to merge, but allows you to save the data set as a file.

NB

The data shown in the examples is taken from an old sample database and may not reflect the current addresses of the companies shown.
   
You can still use the old Mail Merge Helper from Word 97/2000
  Although you get a new mail merge interface, using task panes, with Word 2002, and the previous sections show how to avoid using it, Microsoft has kindly left the old mail merge helper from Word 97/2000 in the application. You will, however, have to add it's command to the toolbar and/or tools menu. You'll find the command in Tools > customize > commands > all commands and it's called MailMergeHelper

 

Drag the command to a suitable place on the toolbar:

 

Click the icon and you have the old familiar mail merge helper: