View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Complex mailmerge

You probably need to include conditional fields to insert the variable stuff
eg

{IF {Mergefield Fieldname} = "test" "Do this" "Otherwise do this"}
or for more than one result
{IF {Mergefield Fieldname} = "test1" "Do this"}{IF {Mergefield Fieldname} =
"test2" "Do this"}{IF {Mergefield Fieldname} = "test3" "Do this"}

The field boundaries are entered with CTRL+F9, the fieldnames and the
condition check are from your data and "Do This" can be more or less
anything that you can put in a document.

--

Graham Mayor - Word MVP

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



jayneg wrote:
Hi everyone, I need to do a complex mailmerge. I have one basic letter
and want to say slightly things to people. For example, I may have as
many as 6 different headlines, then 6 different single words or
sentences or even paragraphs. I have no idea how to use Word fields,
but I think this is the way to go. Any suggestions gratefully
received.

Many thanks