Hi,
Can anyone tell me what's wrong with this code?
Private Sub cmbProvWrkCde_LostFocus()
If txtProviderID = "*P" And cmbProvWrkCde = "P-X" Then
MsgBox "Inactivating PCP Office Location Needs Approval From Director Of Department", vbOKOnly, "Password"
End If
End Sub
I am trying to send a message box everytime txtProviderID = Number that end with P (e.g. 145879P) and cmbProvWrkCde = P-X.
Thanks in advance.
Ismail
Can anyone tell me what's wrong with this code?
Private Sub cmbProvWrkCde_LostFocus()
If txtProviderID = "*P" And cmbProvWrkCde = "P-X" Then
MsgBox "Inactivating PCP Office Location Needs Approval From Director Of Department", vbOKOnly, "Password"
End If
End Sub
I am trying to send a message box everytime txtProviderID = Number that end with P (e.g. 145879P) and cmbProvWrkCde = P-X.
Thanks in advance.
Ismail