View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
SamuelT SamuelT is offline
external usenet poster
 
Posts: 2
Default Creating Conditional Paragraph Breaks With Mail Merge

Thanks Doug and Peter - got it working just as I wanted now.

Very helpful - much obliged!!!

"Doug Robbins - Word MVP" wrote:

Use an If...then...Else field construction

{ IF { MERGEFIELD fieldcontaining the text } "" "{ MERGEFIELD
fieldcontainingthetext }¶" "" }The next paragraph in your document.....

Where ¶ appears in the above construction, press the Enter key. You must
use Ctrl+F9 to insert each pair of the field delimiters.

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

"SamuelT" wrote in message
...
Hi all,

I'm putting together a mail merged document and am having a slight problem
when it comes to paragraph breaks.

Basically, a number of entrants need a few paragraphs on the letter.
Getting
the text in is no problem at all (it's in the spreadsheet that is feeding
the
merge). However, when a person who does not need the extra paragraphs in
is
brought up Word leaves the paragraph breaks in, which leaves ugly big
spaces
in between the information.

Can anyone suggest a means of adding paragraph breaks on the document,
without actually 'hard coding' it in the Word document. I'm thinking
possibly
some code in the merge tags themselves.

Any help appreciated!

SamuelT