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" Statement and Multiple Conditions
I've been using this feature for a very long time. I can't seem to figure
this one out. I'm using Word 2003. I have a document that requires another document be inserted. The conditions are only for states AL, AZ, IL, IN OR MI ({MERGEFIELD RISK_STATE}) AND if the line of business {MERGEFIELD LOB} is EP, NP OR HO. Help! Thanks, PS |
#2
|
|||
|
|||
"IF" Statement and Multiple Conditions
The easiest thing will be to set up a nested If...then...Else construction
for each state { IF { MERGEFIELD RISK_STATE } = AL { IF { MERGEFIELD LOB } = EP { INCLUDETEXT "DRIVE:/PATH/FILENAME" } "" } "" } and repeat this with no space between each of the above field constructions for each of the other states. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "PMS" wrote in message ... I've been using this feature for a very long time. I can't seem to figure this one out. I'm using Word 2003. I have a document that requires another document be inserted. The conditions are only for states AL, AZ, IL, IN OR MI ({MERGEFIELD RISK_STATE}) AND if the line of business {MERGEFIELD LOB} is EP, NP OR HO. Help! Thanks, PS |
#3
|
|||
|
|||
"IF" Statement and Multiple Conditions
That's what I thought. Thanks for your assistance. PS
"Doug Robbins - Word MVP" wrote: The easiest thing will be to set up a nested If...then...Else construction for each state { IF { MERGEFIELD RISK_STATE } = AL { IF { MERGEFIELD LOB } = EP { INCLUDETEXT "DRIVE:/PATH/FILENAME" } "" } "" } and repeat this with no space between each of the above field constructions for each of the other states. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "PMS" wrote in message ... I've been using this feature for a very long time. I can't seem to figure this one out. I'm using Word 2003. I have a document that requires another document be inserted. The conditions are only for states AL, AZ, IL, IN OR MI ({MERGEFIELD RISK_STATE}) AND if the line of business {MERGEFIELD LOB} is EP, NP OR HO. Help! Thanks, PS |
Thread Tools | |
Display Modes | |
|
|