Cannot remove class module associated with a form in VBA editor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newnewbie
    New Member
    • Nov 2006
    • 54

    Cannot remove class module associated with a form in VBA editor

    Hi,
    When I open one of my Access DB I get a warning that "the form name is misspelled or form does not exist". It does not exist, because I deleted it. However, I still get the message. I thought it was associated with a class module in VBA editor, so I went and found the module there. When I try to remove it I cannot - the remove option is greyed out.
    Please help!

    I have print screens of the errors...

    Thank you,
    Lena
  • babamc4
    New Member
    • Jan 2008
    • 14

    #2
    Hi Lena,

    Open your module and on the file menu there is an option 'Remove (whatever your module is called)'. This should do it. Just be careful as the module may be connected to other tables etc.

    :)

    Comment

    • FishVal
      Recognized Expert Specialist
      • Jun 2007
      • 2656

      #3
      Hello, Lena.

      I recall a similar question was already asked on the forum.

      You may try to import all but this one module to a blank database. Usually it cures everything.

      Regards,
      Fish.

      Comment

      • newnewbie
        New Member
        • Nov 2006
        • 54

        #4
        Originally posted by FishVal
        Hello, Lena.

        I recall a similar question was already asked on the forum.

        You may try to import all but this one module to a blank database. Usually it cures everything.

        Regards,
        Fish.
        Great,
        Thanks!
        I did end up copying everything to a blank DB while waiting for answers, but I want the mystery solved.

        Comment

        Working...