View Single Post
  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Stephen Green
 
Posts: n/a
Default Multiple conditions in merge

Thanks, Guys!

I see one difference between your suggestions. There is a double quote
before the second { IF in Graham's suggestion (below) which is missing in
Doug's.

Is this important?

Stephen

"Graham Mayor" wrote in message
...
Oops - a typo - that should read
{ IF { Mergefield Amount } = 50 "{ IF { Mergefield Amount } = 100 "The
amount is between 50 and 100" "" }" "" }
Spaces are important!

--

Graham Mayor - Word MVP

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


Graham Mayor wrote:
{ IF { Mergefield Amount } = 50 "{ IF { Mergefield Amount } =100
"The amount is between 50 and 100" "" }" "" }


Stephen Green wrote:
I can't for the life of me figure out how to insert a field base on
multiple conditions. What I'd like to do, for instance, is something
like this:
If Amount = 50 And Amount =100 Then "The amount is between 50 and
100"
Can anyone help?

Stephen