Message Pop Up

waterballoon

New Member
Joined
Jun 15, 2011
Messages
35
In a column I have a drop down menu and would like for the message to come when one of those choices is chosen

Don't even know where to start... :(

Thanks ahead of time!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
You mean you have data-validation? Is it from a list, a formula, or???
 
Upvote 0
Okay, then let's assume the DV is in B1, like:
Excel Workbook
ABCD
1My List:Val 3Val 1
2Val2
3Val 3
4Val 4
5Val 5
Sheet2
Excel 2010

In the Worksheet's Module:

Rich (BB code):
Option Explicit
    
Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Count = 1 And Not Application.Intersect(Target, Range("B1")) Is Nothing Then
        If Target.Value = "Val 3" Then
            MsgBox "Some msg...", vbOKOnly, "My Titlebar Caption"
        End If
    End If
End Sub

Hope that helps,

Mark
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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