Cannot remove module in project browser

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

Guest

Somehow a VBA module got created for one of my forms and is showing up in the
VBA Project Browser (Form_Formname). When I right-click it, the "Remove
Form_Formname" option is grayed out. I've deleted all the contents of the
module, so it's just an empty name, basically. Also, I've checked the form
and it's not getting called anywhere. What gives?
 
You might also try to check the following:

Check the properties from the form and at the bottom of the properties
you'll see the property "Has Module". If this is set to yes then set it to
no. Confirm the messagebox (stating any code will be removed) and then
compile again.

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top