View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Using an If Statement

I guess in this case you meant Charles.g

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

"Graham Mayor" wrote in message
...
Doug is correct, but he does have a tendency to assume a level of
knowledge
that the questioner may not have, and in this case I think you may be
stretched to work out what he meant here.

Press CTRL+F9 directly in the document, which will give you {}
Between the brackets type the text and insert the fields as he has shown,
or
if you prefer manually type in the fields with CTRL+F9 for each pair of
boundaries {}
Thus
{IF {Mergefield Title} = "" "{Mergefield Salutation2}" "{Mergefield
Salutation1}"}
Then with the cursor in the field press F9 to update. This should also
switch the display.

--

Graham Mayor - Word MVP

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


Kelly wrote:
I'm using Word 2003 and Windows XP. I have a merge document setup
and one of the fields is for the salutation. What I need to happen
at the merge is when it comes to the salutation field, if it is blank
then look to another field I have. so the statement should look
something like this:

if salutation1=blank,salutation2,salutation1

However, I cannot figure out how to get that statement in my
document. Any help would be appreciated.