Address layout

  • Thread starter Thread starter Ian Wolfe
  • Start date Start date
I

Ian Wolfe

I've just started with Win 2003 and tried to alter the Address Layout
as in Win 2000. Of course it doesn't work. Specifically I want to put
the Zip Code on to a separate line. How do I do this please? TIA.
 
AddressLayout works the same way in all versions of Word.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
I am not sure if an If...then...Else field can be used in these
circumstances, but try:

{{<PR_DISPLAY_NAME_PREFIX> <PR_GIVEN_NAME> <PR_SURNAME> |
<PR_DISPLAY_NAME>}
{ IF {<PR_TITLE>}<> "" {PR_TITLE>}
{ IF {<PR_COMPANY_NAME>}<> "" {<PR_COMPANY_NAME>}
{<PR_POSTAL_ADDRESS>} { IF {<PR_COMPANY_NAME>}<> "" {<PR_COMPANY_NAME>}
{<PR_POSTAL_ADDRESS>} {<PR_POSTAL_ADDRESS>} } } }


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
The curly brackets define the field area so they need to be moved or
removed - Instead of

{{<PR_DISPLAY_NAME_PREFIX> <PR_GIVEN_NAME> <PR_SURNAME> |
<PR_DISPLAY_NAME>}
{<PR_TITLE>}
{<PR_COMPANY_NAME>}
{<PR_POSTAL_ADDRESS>}}

you need

{<PR_DISPLAY_NAME_PREFIX> }<PR_GIVEN_NAME> <PR_SURNAME>
{<PR_TITLE>
}{<PR_COMPANY_NAME>
}<PR_POSTAL_ADDRESS>

the DisplayName field would duplicate one of the other fields so is not
required.

See also http://www.gmayor.com/Macrobutton.htm, which documents this and an
alternative method inserting Outlook data which you may find more flexible
and thus more useful. There are also sample envelope templates to download
which use this technique.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top