Message box after drop down list has been used

pgrad

Board Regular
Joined
Dec 8, 2010
Messages
60
Hi All,

I am hoping to create a msg box after the user has selected from one drop down list which will instruct them to select from the next drop down list.

Is this possible? Or is there an alternative way to highlight / force them to complete all the drop down lists in a specific order?

Thanks
Paul
 
I have a macro that each user must run to generate some data calculations. I need to insert something at the end of the code that makes a message box on Sheet1 appear and asks the question " Question for User to Answer " and mandates the user to select either option 1 ( which should display "No") or select option 2 (which should display "Yes"). They have to click on yes or no to move on. If the user clicks on "No", cell G1 on Sheet1 will display a 0. If the user clicks on "Yes", cell G1 on Sheet1 will display a 1.


Any suggestions?
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Here's an example:

Code:
Sub Test()
    Dim Answer As Long
    Answer = MsgBox("Question for User to Answer?", vbYesNo + vbQuestion, "Please Answer")
    With Worksheets("Sheet1").Range("G1")
        If Answer = vbYes Then
            .Value = 1
        Else
            .Value = 0
        End If
    End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,723
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top