Including a Merge Code Within an IF Statement

B

bk

I would like to include a merge code within an IF statement. For example, IF
column A = 1, then I'd like for the text to appear, "Please consider a gift
of $<<Ask>>." Where "<<Ask>>" is the field name of the dollar amount. I
think I used to be able to do this in previous versions of Word but in 2003
it won't let me? Or is there another way?
 
G

Graham Mayor

What's the name of the mergefield that provides column A?

You could use something like

{IF {Mergefield A} = 1 "Please consider a gift of {Mergefield Ask \#
"$,0.00"}"}

see http://www.gmayor.com/formatting_word_fields.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top