Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Word
Search
Search
 
Check for updates: (c) Microsoft
Microsoft Update
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Field codes: AddressBlock field
 

{ ADDRESSBLOCK [Switches ] }

Inserts a mail merge address block. You can set options for this field (field: A set of codes that instructs Microsoft Word to insert text, graphics, page numbers, and other material into a document automatically. For example, the DATE field inserts the current date.) and insert it by using the Field dialog box (Insert menu). However, if you're using this field for a mail merge, it's easiest to insert by clicking Address block in step 4 of the Mail Merge task pane. By doing so, you can quickly specify address elements and formatting.

ShowSwitches

\c

Specifies whether to include the name of the country/region. Type 0 (zero) to omit the country/region, 1 to always include the country/region, or 2 to include the country/region only if different from the value for \e.

\d

Specifies that the address be formatted according to the country/region of the recipient. If this switch is not used, then addresses are formatted according to preferences specified in the regional settings in Microsoft Windows Control Panel.

\e

Specifies which country/region to exclude form the address block. This is useful when your mailing contains a mix of domestic and international recipients.

Note  If you want to exclude the names of more than one country or region, use the \e switch for each one.

\f

Specifies the name and address format by providing a template of merge field placeholders.

\l

Specifies the language ID used to format the address. Defaults to the language ID of the first character of the document.
advertisement