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 / July 2006

Tip: Looking for answers? Try searching our database.

I want to prevent an extra line when a merge item is not present

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ShadyBradyHat - 01 Jul 2006 00:16 GMT
Using WORD and a template I built, I have an extra line when there is no data
for Address_Line_2.  The code is as follows:

{IF {mergefield Address_Line_2}<>"" "{mergefield Address_Line_2}" "")

The help information does not provide anything that I could find on this.
Graham Mayor - 01 Jul 2006 07:03 GMT
You need to put this conditional field on the end of the previous line (not
on its own line) and add the line feed in the code thus:
{IF {mergefield Address_Line_2}<>"" "
{mergefield Address_Line_2}")

Signature

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

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

> Using WORD and a template I built, I have an extra line when there is
> no data for Address_Line_2.  The code is as follows:
[quoted text clipped - 3 lines]
> The help information does not provide anything that I could find on
> this.
ShadyBradyHat - 01 Jul 2006 15:12 GMT
THANKS!

> You need to put this conditional field on the end of the previous line (not
> on its own line) and add the line feed in the code thus:
[quoted text clipped - 8 lines]
> > The help information does not provide anything that I could find on
> > this.

Rate this thread:






 
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.