Hello again,
I've searched the intewebz and thought I found my answer, but i'm obviously doing something wrong. Basically, I have checklist that is filled out, and to make it easier, condenced to 3 cells (A1,B1 & C1).
If the cell is left blank, do nothing.
If something is added to the cell, I need the following pop up boxes.
If something is entered into A1 the popup box should say "Message #1"
If something is entered into B1 the popup box should say "Message #2"
If something is entered into C1 the popup box should say "Message #3"
These would go in order, so A1 would be first. If pop up appears, you would close it out, then go to B1, and so on.
Below is the code i'm using. It works with one, but obiously not mulitple based on how I put it together.
Please help!!
Thanks
I've searched the intewebz and thought I found my answer, but i'm obviously doing something wrong. Basically, I have checklist that is filled out, and to make it easier, condenced to 3 cells (A1,B1 & C1).
If the cell is left blank, do nothing.
If something is added to the cell, I need the following pop up boxes.
If something is entered into A1 the popup box should say "Message #1"
If something is entered into B1 the popup box should say "Message #2"
If something is entered into C1 the popup box should say "Message #3"
These would go in order, so A1 would be first. If pop up appears, you would close it out, then go to B1, and so on.
Below is the code i'm using. It works with one, but obiously not mulitple based on how I put it together.
Please help!!
Thanks
Code:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim rng As Range
Set rng = Range("A1")
If Not Intersect(Target, rng) Is Nothing Then
If rng = "" Then
End If
MsgBox "Message #1"
End If
Set rng = Nothing
End Sub
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim rng As Range
Set rng = Range("b1")
If Not Intersect(Target, rng) Is Nothing Then
If rng = "" Then
End If
MsgBox "Message #2"
End If
Set rng = Nothing
End Sub
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim rng As Range
Set rng = Range("c1")
If Not Intersect(Target, rng) Is Nothing Then
If rng = "" Then
End If
MsgBox "Message #3"
End If
Set rng = Nothing
End Sub