View Single Post
  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Amber Amber is offline
external usenet poster
 
Posts: 2
Default Using an If Statement

I am trying to do this it is not working for me. this is what I typed
{IF{Nickname}=blank,{First Name},{Nickname}} can you tell me what I am doing
wrong please?

Thank you

"Graham Mayor" wrote:

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.