Multiple conditions for if statements in Word

Discussion in 'Word VBA' started by, Dec 19, 2013.

  1. Guest

    Racking my brain trying to figure out how to do nested multiple if statements in's not your basic "if..then...else" nor is it simply "and" or "or"'s more of an "and/or" if statement. Mail merge document, adding astorisks based on state AND major. Here's an example of what I want to do:

    If state = WA and major <> nursing or major <> to dental hygiene or major<> to registered nursing then insert * otherwise nothing.

    I have to do this for 13 different states as well, each with 3 just keeps adding extra astorisks. Any ideas??
    , Dec 19, 2013
    1. Advertisements

  2. Are the three majors the same for all 13 states? For a given major,
    do multiple states have the same processing?
    Barry Schwarz, Dec 20, 2013
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.