[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ADDRESSBLOCK

Syntax:

ADDRESSBLOCK [ switches ]

Description: Inserts a mail merge address block.

Field Value: The address block.

Switches: Zero or more of the following field-specific-switches.

\c field-argument

text in this switch's field-argument specifies whether to include the name of the country/region: a value of 0 causes the country/region to be omitted; a value of 1 causes it to be included, and a value of 2 causes country/region to be included, but only if it is different from the value for \e.

\d

Specifies that the address is to be formatted according to the country/region of the recipient. If this switch is not used, then addresses are formatted according to some implementation-specific preference.

\e field-argument

text in this switch's field-argument specifies which country/region to exclude from the address block. [Note: This is useful when your mailing contains a mix of domestic and international recipients. end note] To exclude the names of more than one country or region, use a \e switch for each one.

\f field-argument

text in this switch's field-argument specifies the name and address format by providing a template of merge-field placeholders.

\l field-argument

text in this switch's field-argument specifies the language ID used to format the address. The default is to use the language ID of the first character of the document.