Module Not Found

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All of the sudden, whenever I click on a command button, it says module not
found.....HELP!
 
Open the form in design mode, double left-click the command button to
open the properties window. Afterwards, click on the 'Events'
tab--scroll through the list of events (there's something likely wrong
with the OnClick event). If the button is using a module, go back to
your database window and click the 'Module' tab--make sure its there.
Otherwise, there may be something wrong with the module's code.
Good luck,

Todd
 
Open the form in design mode, double left-click the command button to
open the properties window. Afterwards, click on the 'Events'
tab--scroll through the list of events (there's something likely wrong
with the OnClick event). If the button is using a module, go back to
your database window and click the 'Module' tab--make sure its there.
Otherwise, there may be something wrong with the module's code.
Good luck,

Todd

Thank you for the quick reply, I cannot find anything wrong. Everything matches my backup database (not extremely current so trying not to have to go back to). It is happening to all command buttons, even when new ones are created. I am not extremely knowlegable at the "underside" of access. Any other suggestions
 
You may have some corruptions in the References Collection.

See Douglas J. Steele's article:

http://members.rogers.com/douglas.j.steele/AccessReferenceErrors.html

--
HTH
Van T. Dinh
MVP (Access)


MelMill said:
Thank you for the quick reply, I cannot find anything wrong. Everything
matches my backup database (not extremely current so trying not to have to
go back to). It is happening to all command buttons, even when new ones are
created. I am not extremely knowlegable at the "underside" of access. Any
other suggestions
 
Van T. Dinh said:
You may have some corruptions in the References Collection.

See Douglas J. Steele's article:

http://members.rogers.com/douglas.j.steele/AccessReferenceErrors.html

--
HTH
Van T. Dinh
MVP (Access)



matches my backup database (not extremely current so trying not to have to
go back to). It is happening to all command buttons, even when new ones are
created. I am not extremely knowlegable at the "underside" of access. Any
other suggestions


I couldn't get any of this to work, however in the Project Explorer window when you open up code showed a form that did not exist. Once I recreated a new form with the same name everything was working fine again. Strange??? Anyway working now. Thanks.
 
Back
Top