Have 2 items in dropdown, want warning if one selected

M

movermike

I have Item A and Item B in a dropdown and want a warning to pop up if Item B
is selected.
 
L

L. Howard Kittle

Hi Mover,

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$A$1" Then Exit Sub
If Target.Value = "b" Then
MsgBox "You picked B"
End If
End Sub

HTH
Regards,
Howard
 
Top