Format Print Merge Output with Switches or MERGEFIELD Keyword

Last reviewed: February 5, 1998
Article ID: Q91210
The information in this article applies to:
  • Microsoft Word for Windows versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c

SUMMARY

In Microsoft Word for Windows, you can format the results of a MERGEFIELD field by applying character formatting to the MERGEFIELD keyword. You can also format MERGEFIELD field results using a general format switch (\*). General switch formatting overrides direct formatting you apply to the MERGEFIELD field.

No menu command for initial letter capitalization or lowercase character formatting exists in Word for Windows; therefore, you must apply these formats using the FIRSTCAP and LOWER general switches.

MORE INFORMATION

Print Merge Character Case Switches

             Syntax: {MERGEFIELD name \* upper}

             Syntax: {MERGEFIELD name \* lower}

             field.
             Syntax: {MERGEFIELD name \* firstcap}

             Syntax: {MERGEFIELD name \* caps}

Documentation Error

Neither page 628 nor page 762 of the "Microsoft Word for Windows User's Guide" describes the need to use the FIRSTCAP and LOWER general formatting switches to apply these character formats to MERGEFIELD output.

For more information on general switches, search for "Switches" using the Help menu.

Reference(s):

"Microsoft Word for Windows User's Guide," version 2.0, page 628, 643, 762

"Microsoft Word for Windows User's Reference," version 1.x, pages 111-113


KBCategory: kbusage
KBSubcategory: kbfield kbfont
Additional query words: pmh 6.0 winword word6
docerr doc err print winword2 2.0 2.0a 2.0a-CD 2.0b 2.0c
Keywords : kbfield kbfont
Version : 2.0 2.0a 2.0a-CD 2.0b 2.0c
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.