"IF" Statement and Multiple Conditions

P

PMS

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
 
D

Doug Robbins - Word MVP

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
 

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