Hi,
I have this code
Sub status_update()
Dim COM As String
On Error GoTo veryEnd
If Range("E1").Text = P Then
COM = MsgBox("Update % Column")
veryEnd:
End If
End Sub
The above code works fine, but I have problem,
I want the code to give out the message automatically when the word P is entered in E1, rather than running the macro then getting a message.
Thanks
I have this code
Sub status_update()
Dim COM As String
On Error GoTo veryEnd
If Range("E1").Text = P Then
COM = MsgBox("Update % Column")
veryEnd:
End If
End Sub
The above code works fine, but I have problem,
I want the code to give out the message automatically when the word P is entered in E1, rather than running the macro then getting a message.
Thanks