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 2005

Tip: Looking for answers? Try searching our database.

How do I eliminate spaces resulting from blank mail merge fields?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KTCOMP - 16 Nov 2005 16:39 GMT
I have a mail merge document with multiple fields one after the other.   Not
all fields will have results.  When there are no results, how do I keep
spaces from occuring where the field would have been?
Doug Robbins - Word MVP - 16 Nov 2005 18:48 GMT
Insert and If...then...Else field

{ IF { MERGEFIELD afieldthatmaybeblank } = "" "{ MERGEFIELD nextmergefield"}
"{ MERGEFIELD afieldthatmaybeblank } { MERGEFIELD nextmergefield }" }

Signature

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

>I have a mail merge document with multiple fields one after the other.
>Not
> all fields will have results.  When there are no results, how do I keep
> spaces from occuring where the field would have been?
 
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.