If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
if then else
I am trying to use the "if then else" command in a mail merge. Howerver, I
want the command to be: if "field x" or "field y" is equal to "value" then .... or ... is this possible and how would i go about it? thanks -- Russ |
#2
|
|||
|
|||
The following construction should do the trick - in the example the result
for either being true is ResultA if neither is true ResultB {IF{Mergefield X} = "value" "ResultA" "{IF {Mergefield Y} = "value" "ResultA" "ResultB"}"} Each pair of field boundaries is set with CTRL+F9 The syntax used here is: IF x = "value" ResultA IF not then IF y = "value" ResultA Otherwise ResultB -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Russ wrote: I am trying to use the "if then else" command in a mail merge. Howerver, I want the command to be: if "field x" or "field y" is equal to "value" then ... or ... is this possible and how would i go about it? thanks |
Thread Tools | |
Display Modes | |
|
|