WD: Print Merge Only Certain Records from a Data DocumentLast reviewed: November 17, 1997Article ID: Q29193 |
The information in this article applies to:
SUMMARYIn Microsoft Word, you can print a form letter for records that contain only certain data.
MORE INFORMATIONTo do this you can specify a range of records in the Merge dialog box, or you can use one of the following methods (use the method appropriate for your version of Word).
Word for the Macintosh 5.0, 5.1Use an IF instruction to test each record before printing. For example, if you only want to print those records that have "NY" for a state field, set up the main document as follows:
<<Data filename>><<IF state="NY">> . . Text of form letter goes here, with other merge . instructions. . <<ENDIF>> Word for the Macintosh 3.0, 4.0Use an IF instruction to test each record before printing. For example, if you only want to print those records that have "NY" for a state field, do the following:
Note that the ENDIF must be on the last line of the document; otherwise, extra blank lines will be printed for those records that do not meet the screening criteria. A manual page break (SHIFT+ENTER) must immediately precede the ENDIF instruction so that each form letter will be printed on a separate page.
|
Additional query words: selected
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |