+ Reply to Thread
Results 1 to 2 of 2

Multiple conditions - If...And...And...And...Then...Help!

  1. #1
    Registered User
    Join Date
    03-02-2012
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Multiple conditions - If...And...And...And...Then...Help!

    I have a userform with four different combo boxes to help organize a large collection of word documents. The combo boxes have been populated by assigning the Row Source to the corresponding rows in an Excel worksheet.

    What would the appropriate VBA translation be for my layman's logical progression of,

    If "Condition A" and "Condition B" and "Condition C" and "Condition D" then open "Document X"

    I've been hung up on this (probably simple) issue for a few hours now.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,758

    Re: Multiple conditions - If...And...And...And...Then...Help!

    Pretty much what you've written.

    Please Login or Register  to view this content.

    I don't know what your conditions are so I can't be more specific. You can use brackets if there could be any confusion.

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1