Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2007

Tip: Looking for answers? Try searching our database.

Cannot remove module in project browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joeljkp - 24 Jul 2007 18:50 GMT
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?
ruralguy - 24 Jul 2007 20:25 GMT
See if a /decompile and then a Compact and Repair corrects the issue.
http://www.granite.ab.ca/access/decompile.htm

>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?

Signature

HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Maurice - 24 Jul 2007 20:58 GMT
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
Signature

Maurice Ausum

> 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?
joeljkp - 24 Jul 2007 21:14 GMT
Thank you, that was it. I hadn't noticed the "Has Module" option before.

- Joel

> You might also try to check the following:
>
[quoted text clipped - 10 lines]
> > module, so it's just an empty name, basically. Also, I've checked the form
> > and it's not getting called anywhere. What gives?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.