Format Print Merge Output with Switches or MERGEFIELD Keyword

ID: Q91210

The information in this article applies to:

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

Last Reviewed: February 6, 1998