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
 
Back
Top