Hello!
I'm trying to have a pop-up message occur on a tab ("Analytical Approach") that gives the user a warning, only if the value "3" is present between cells B4:B12 on a separate tab ("Control"). The cells in in the Control tab are populated based off of a Form Control button on Analytical Approach. So I'm hoping every time someone selects a value which populates 3 in this separate tab, the warning will pop up.
This is what I have so far...and it's gotten me nowhere
Private Sub Find_Criteria()
Dim r
r = Range(Sheets("Control").Range("B4:B12")).End(xlUp).Row
If Sheets("Control").Range("B") = "3" Then
MsgBox "Warning"
End If
Next i
End Sub
I'm trying to have a pop-up message occur on a tab ("Analytical Approach") that gives the user a warning, only if the value "3" is present between cells B4:B12 on a separate tab ("Control"). The cells in in the Control tab are populated based off of a Form Control button on Analytical Approach. So I'm hoping every time someone selects a value which populates 3 in this separate tab, the warning will pop up.
This is what I have so far...and it's gotten me nowhere
Private Sub Find_Criteria()
Dim r
r = Range(Sheets("Control").Range("B4:B12")).End(xlUp).Row
If Sheets("Control").Range("B") = "3" Then
MsgBox "Warning"
End If
Next i
End Sub