Field codes: UserAddress field

The UserAddress field inserts the address from the Mailing address box. To view the Mailing address box, click the File tab, click Options, and then click Advanced. The Mailing address box is located under General.

Syntax

When you view the UserAddress field in your document, the syntax looks like this:

{ USERADDRESS ["NewAddress"] }

 Note    A field code tells the field what to show. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Instructions

"NewAddress"

Inserts an address you specify instead of the address in the Mailing address box.. You can type the address on one line, or you can use ENTER or SHIFT+ENTER to break the address lines.

 Note   Use SHIFT+ENTER to ensure a single-spaced address.

NewAddress doesn't change the contents of the Mailing address box.

Examples

The following examples use the USERADDRESS field to produce a return address in a business letter.

Field Sample results
{ USERADDRESS } Aaron M. Painter
123 Killarny Way
Anytown, WA 98001

{ USERADDRESS "P. J. Loren

P.O. BOX 9834

ANYTOWN WA 98001" }

A. M. Painter

P.O. BOX 9834

ANYTOWN WA 98001

 
 
Applies to:
Word 2013, Word 2010