G
Guest
I have written code for a cancel button that I have on my form - when I close
VB and press the cancel button I receive the error message "Module Not Found"
Here is the code that i have for the cancel button
Private Sub cmdCancel_Click()
DoCmd.Close acForm, "frmReroutes_Report_By_Contact"
End Sub
Now when i was typing the code in instead of getting the options boxes,
example, when I typed DoCmd. I got an error message stating "You canceled the
previous operation"
What am I doing wrong.
VB and press the cancel button I receive the error message "Module Not Found"
Here is the code that i have for the cancel button
Private Sub cmdCancel_Click()
DoCmd.Close acForm, "frmReroutes_Report_By_Contact"
End Sub
Now when i was typing the code in instead of getting the options boxes,
example, when I typed DoCmd. I got an error message stating "You canceled the
previous operation"
What am I doing wrong.