D
Doolittle
Private Sub StoppedPayment_BeforeUpdate(Cancel As Integer)
Hi,
I'm new to groups!Thankyou for any posts people put up for me!Can
someone please explain why the first MsgBox appears yet the second
doesn't? Thanks,
Doolittle
If StoppedPayment = True Then
If MsgBox("Confirm you want to STOP PAYMENT", vbYesNo +
vbDefaultButton2 + vbCritical) = vbNo Then
Cancel = True
StoppedPayment.Undo
Exit Sub
Else
If Payment_Amount = "£0.00" Then
If MsgBox("Previous payment not made", vbOKCancel) = vbCancel
Then
Cancel = True
StoppedPayment.Undo
Exit Sub
End If
End If
End If
End If
End Sub
Hi,
I'm new to groups!Thankyou for any posts people put up for me!Can
someone please explain why the first MsgBox appears yet the second
doesn't? Thanks,
Doolittle
If StoppedPayment = True Then
If MsgBox("Confirm you want to STOP PAYMENT", vbYesNo +
vbDefaultButton2 + vbCritical) = vbNo Then
Cancel = True
StoppedPayment.Undo
Exit Sub
Else
If Payment_Amount = "£0.00" Then
If MsgBox("Previous payment not made", vbOKCancel) = vbCancel
Then
Cancel = True
StoppedPayment.Undo
Exit Sub
End If
End If
End If
End If
End Sub