View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
L. Howard Kittle
 
Posts: n/a
Default Have 2 items in dropdown, want warning if one selected

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

"movermike" wrote in message
...
I have Item A and Item B in a dropdown and want a warning to pop up if Item
B
is selected.