Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / November 2006

Tip: Looking for answers? Try searching our database.

Address Block Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JeffreyBee - 15 Nov 2006 13:16 GMT
Word 2003

Hello,

I would like to add a Department field to the address block so it not only
displays the company name on one line but the department name on a separate
line (if it exists).

thanks for your help.

Jeff
Graham Mayor - 15 Nov 2006 13:40 GMT
Forget the addressblock field and simply insert the individual fields where
you require them eg

{ Mergefield  First_Name} { Mergefield Last_Name }{ IF{ Mergefield Company }
<> "" "
{ Mergefield Company } { IF{ Mergefield Department } <> "" "
{ Mergefield Department }" ""}" "" }
{ MERGEFIELD Postal_Address }

Signature

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Word 2003
>
[quoted text clipped - 7 lines]
>
> Jeff
JeffreyBee - 15 Nov 2006 13:50 GMT
Two questions:  1. Will this result in a blank line if department is blank?  
2. what do I enter to ensure department is on its own line?

> Forget the addressblock field and simply insert the individual fields where
> you require them eg
[quoted text clipped - 16 lines]
> >
> > Jeff
Graham Mayor - 15 Nov 2006 14:19 GMT
There will be no blank lines if you build the field construction as shown.
Note particularly the positions of the quotes in relation to the line
breaks. There will be no department entry if there is no company, but if
both are present they will be on separate lines as requested.
See also http://www.gmayor.com/formatting_word_fields.htm
Signature

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Two questions:  1. Will this result in a blank line if department is
> blank?
[quoted text clipped - 28 lines]
>>>
>>> Jeff
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.