
Tips.Net > WordTips Home > Printing > Mail Merge > Creating a Mail Merge Data File
Summary: An easy way to perform a mail merge starts with creating a data file in a Word document. This tip shows how you can create the data in a document in a tabular format that can be easily understood by the mail merge feature. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
If you plan on printing documents that merge information from a data file, such as form letters, you will need to create the data file in such a way that Word will know how to process it. This data can be in a database program, in the Excel spreadsheet program, or directly in Word. If you are creating a simple, one-time mail merge document, chances are good that you will be using data that you put in a Word document.
Basically, the Word data file must have a header record and as many data records as you desire. The header record indicates the field names to be assigned to the fields in each record. The names in this header record correspond to the field names used in your master document. Each field in each data record of the file must correspond to one of the header fields. For instance, consider the following excerpt from a data file.
| title | first | middle | last | |||
|---|---|---|---|---|---|---|
| John | Q. | Public | ||||
| Jean | R. | Smith | ||||
| Wilma | Davis | |||||
| Walter | T. | Avery |
The first record indicates the field names; it is the header record. The other four records are the data records. Notice, also, that the third data record does not list any data corresponding to the data field named middle. As you create these data files, you can place the information in a Word table so the data is easier to visualize and work with. Each record will occupy a row of the table, and each field will occupy a cell in the row.
Tip #1369 applies to Microsoft Word versions: 97 2000 2002 2003 2007
Take Control! Master the real power behind Word! Successfully master the secrets of powerful formatting and create documents that stand out from the rest. Best of all, you can create documents that are easy to maintain and quick to change.
Check out WordTips: Sytles and Templates today!
Do you want a decade of WordTips information at your fingertips? You can find what you need with the WordTips Ten-Year Library. (more information...)
Ask a Word Question
Make a Comment
Bugs and Pests Tips
ExcelTips
Family Tips
Health Tips
Home Tips
Organizing Tips
WordTips