Results 1 to 3 of 3
  1. #1
    tgwacker is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2013
    Location
    Columbia, SC
    Posts
    9

    How to Delete VBA Module

    I created and saved a non-class VBA module by mistake. I tried doing a Remove Module, but it still exists in the list of modules. Now when I first get into the Microsoft Visual Basic or update another module to add a new Sub, I get a message box saying 'File Not Found'. When I shut down Access, then get back in, the deleted module still exists in the list of modules. How can I get rid of this module and the message?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Sounds like corruption. Have you tried Compact and Repair? If that doesn't fix, might have to import everything into a new db.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tgwacker is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2013
    Location
    Columbia, SC
    Posts
    9
    Compact and Repair did not work. I am resorting to importing into new table.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 14
    Last Post: 08-19-2013, 09:37 AM
  2. class module vs regular module
    By Madmax in forum Modules
    Replies: 1
    Last Post: 05-01-2012, 03:44 PM
  3. Replies: 2
    Last Post: 01-24-2012, 02:16 PM
  4. Trying to Delete record using delete query
    By MooseOTL in forum Access
    Replies: 13
    Last Post: 10-04-2011, 02:30 AM
  5. Replies: 4
    Last Post: 05-16-2011, 04:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums