Drop Down and Popup Message
Hi There
I've already found useful VBA codes to get a popup message even for drop down menus. The spread sheet I'm working on it does not work with these helpful formulas. If for example you select "no" on drop down and the cell number might be number 2, there is no pop up. However if you select target cell somewhere else on formula not to do with drop down the pop up will appear. So its as though the drop down connect to the cell target ignore any numbers that are change on the drop down menu. However if I manually type over the cell link on the drop down cell it will work to get the pop up. I want it to work using the drop down menu. Hope this makes sense and is it something simple I've missed?
here is an example of a formula which I'm sure is fine but it ignores every time if I'm go by the cell link in the drop down properties. If I don't sue a drop down then it works in a different cell
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("A1") > 0.5 Then
MsgBox "Discount too high"
End If
END SUB
HERE'S another again does not work with drop down
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A1:A100")) Is Nothing Then Exit Sub
If Target.Value = "X" Then MsgBox "Aaargh!", vbExclamation
End Sub
I've also tried data validation and same thing happens and does not work with a drop down on my spread sheet in the cell link.
Thanks
Robert
Bookmarks