Found a solution on my own, but it seems a bit funky. Here is what I did. Would like advice about a better way.
Opened the ACCDB
Opened the form that was not working. Went to design mode and retrieved the VB code behind the first button.
Recompiled the VB code.
Recreated the ACCDE.
I didn't make any changes to this form at any time. It's a mystery to me why it worked after the first ACCDE was created and failed when I recreated it.
Thanks.
Thanks for sharing this. I had the same problems, with none of the buttons on any of the forms working. I did what you suggested, and it worked. For the sake of other people with this issue, I will go into more detail.
I went to the first form that opens up according to my autoexec
Went to the visual basic window, and highlighted the "CLICK" code for the main button
I cut the code, including the Sub header and end of sub.
I saved the form and closed it.
I reopened the form, went to visual basic code for it, pasted the code back in, and saved and closed the form again.
Then I went back to visual basic and compiled.
the new accde worked like a charm.
Thanks!!!