View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
 
Posts: n/a
Default If field code = "*" then paragraph changes

{ IF "{ MERGEFIELD myfield }" = "lead" "thank you for (your) interest"
"{ IF "{ MERGEFIELD myfield }" = "prospect" "thank you for your application"
"thank you for (your) business" }" }

All the {} must be the special field codes you can insert using ctrl-F9.

Peter Jamieson
"jermsalerms79" wrote in message
news
I am trying to make a mail merge letter that looks at a specified
mergefield
and returns specified text based on the field.

For example:

If field code is "lead" then test is "thank you for interest"
If field code is "prospect" then text is "thank you for your application"
If field code is "client" then text is "thank you for business"

Is something like this possible