Blank Line Suppression When Using FILLIN fieldLast reviewed: February 2, 1998Article ID: Q106652 |
The information in this article applies to:
SYMPTOMSIf you are using a FILLIN field in Microsoft Word, and do not enter any information into the FILLIN message box, the line in the document that holds the field code will still exist (and will be blank).
WORKAROUNDTo have the blank line suppressed if no information is entered in the FILLIN field message box, use one of the two methods below.
Method 1: Use BookmarksTO use bookmarks to create the FILLIN field data, follow these steps:
Method 2: Use SET StatementsThe results of this method are identical to the results of Method 1. The SET statements have been incorporated into the conditional statements.
{set name {fillin "enter name"}}{if name <> "" "{name} "}{set company {fillin "enter company"}}{if company <> "" "{company} "}{set address {fillin "enter address"}}{if address <> "" "{address} "}When you select the whole document (click Select All on the Edit menu) and press F9 to update the fields, you will be prompted for each piece of information. If you leave one or more of the pieces of information blank, the line containing its FILLIN field will be suppressed.
REFERENCES"Microsoft Word for Windows User's Guide," version 2.0, pages 474 and 672
|
Additional query words: macro
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |