Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
KTCOMP
 
Posts: n/a
Default How do I eliminate spaces resulting from blank mail merge fields?

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?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default How do I eliminate spaces resulting from blank mail merge fields?

Insert and If...then...Else field

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

--
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

"KTCOMP" wrote in message
...
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?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
omit blank mail merge fields gapkid Mailmerge 2 October 20th 05 07:19 AM
blank lines in XP mail merge mwest Mailmerge 1 August 19th 05 06:08 PM
Empty Mail Merge Fields Meggan Microsoft Word Help 1 January 13th 05 05:22 AM
Empty Mail Merge Fields Meggan Microsoft Word Help 0 January 13th 05 12:43 AM
mail merge problem - "Word found locked fields during the update.. zgaryt Tables 1 January 9th 05 01:04 PM


All times are GMT +1. The time now is 09:31 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"