S
Sangeetha
please help me,
I have this coding in a yes/no files named paid.
I want to get confirmation from use, before he updates this field. The macro
is not trigerred when, I make changes to the field.There is somethign wrong
with the coding. please help.
Private Sub PAID_AfterUpdate()
Dim msg1 As String
If PAID.Value = 1 Then
msg1 = MsgBox("Are you sure, the client has paid", vbOKCancel)
If msg1 = 1 Then
Dim Msg3 As String
Msg3 = MsgBox("Please proceed", vbOKOnly)
Elsif
Undo
Else
Dim msg2 As String
msg2 = MsgBox("Ask the client to pay!Thanks", vbOKOnly)
End If
I have this coding in a yes/no files named paid.
I want to get confirmation from use, before he updates this field. The macro
is not trigerred when, I make changes to the field.There is somethign wrong
with the coding. please help.
Private Sub PAID_AfterUpdate()
Dim msg1 As String
If PAID.Value = 1 Then
msg1 = MsgBox("Are you sure, the client has paid", vbOKCancel)
If msg1 = 1 Then
Dim Msg3 As String
Msg3 = MsgBox("Please proceed", vbOKOnly)
Elsif
Undo
Else
Dim msg2 As String
msg2 = MsgBox("Ask the client to pay!Thanks", vbOKOnly)
End If