Hi,
In the code below, the Undo cmd is not working. It seems to be too near the MsgBox procedure. How can I end/close the MsgBox AND THEN perform the Undo? Thanks in Advance.
In the code below, the Undo cmd is not working. It seems to be too near the MsgBox procedure. How can I end/close the MsgBox AND THEN perform the Undo? Thanks in Advance.
Code:
Private Sub Form_Dirty(Cancel As Integer)
MsgBox ("Message Here")
Me.Undo
End Sub