+ Reply to Thread
Results 1 to 5 of 5

MsgBox when a cell within a range changes to a specific value

  1. #1
    Registered User
    Join Date
    08-13-2004
    Posts
    3

    MsgBox when a cell within a range changes to a specific value

    Hi,

    I have a range of cells named "ReasonNoQuote". These cells have drop down validation options with 10 options. When a user selects Option 1 or option 2, I want a message box to pop up with a prompt.

    I've gone through various posts which use Worksheet_Change(ByVal Target As Range) relating to if there is any change to the range, but I only want the message box to come up if 2 out of the10 options are chosen.

    Any help would be massively appreciated as I've gone from thinking I'm OK with VBA, to feeling like I'm utterly hopeless,

    Thanks

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: MsgBox when a cell within a range changes to a specific value

    Does this help?

    Please Login or Register  to view this content.
    Change the Range to suit.

  3. #3
    Registered User
    Join Date
    08-13-2004
    Posts
    3

    Re: MsgBox when a cell within a range changes to a specific value

    Brilliant John, thanks for your help. Does exactly what I needed it to do

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: MsgBox when a cell within a range changes to a specific value

    You're welcome. Glad to help out, and thanks for the feedback. Don't forget Forum Rule No. 9

    9. Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

  5. #5
    Registered User
    Join Date
    08-13-2004
    Posts
    3

    Re: MsgBox when a cell within a range changes to a specific value

    Marked as solved! Thanks again....I was on the verge of parking it till after Christmas!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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