Results 1 to 3 of 3
  1. #1
    dgutsche is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Aug 2014
    Posts
    35

    Exclamation VBA File Not Found Message


    Okay - So as I'm obviously being a bit of a twit. I seem to have deleted the basic code for my database. Now when I try to use the code builder for an event it jumps to the VBA editor and gives the message 'File Not Found'. Now I know I deleted stuff when I made garbage code last week but I must of deleted too much. Can anyone tell what I need to put back in and how or should I abandon all hope and redo the database?

    Alternatively I have renamed my forms and sub forms at different times as I redid them (experimenting around with Access as I never have before).

    Thanks to anyone that can tell what basic mistake I have made!

    Click image for larger version. 

Name:	Error.png 
Views:	19 
Size:	57.8 KB 
ID:	17916
    Last edited by dgutsche; 08-25-2014 at 10:19 AM. Reason: Solved

  2. #2
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    You have a code module called Module1 - are you able to open and edit that?

  3. #3
    dgutsche is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Aug 2014
    Posts
    35
    Nah I was tinkering around. I've given up and spent the last while remaking my database. Maybe this will clear out any other goof ups I have made experimenting around.

    Module 1 is empty. It's something to do with the code for the subform. Now that I've made a new DB I can't be sure but it may be that I just deleted that one line of code in VBA and saved it (when I was deleting modules I had previously created). Ughghggh....

    Thanks all the same!

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

Similar Threads

  1. File Not Found error
    By polbit in forum Access
    Replies: 7
    Last Post: 07-10-2014, 09:54 AM
  2. Error importing Excel file re search key not found
    By pcbrush in forum Import/Export Data
    Replies: 1
    Last Post: 10-03-2013, 03:19 PM
  3. Error Message -- Path not found.
    By alansidman in forum Programming
    Replies: 5
    Last Post: 05-28-2013, 01:58 PM
  4. Intercepting error codes like 2220, file not found
    By justphilip2003 in forum Programming
    Replies: 4
    Last Post: 04-21-2013, 11:33 AM
  5. Docmd.TransferText Spec File Not Found
    By Patrick.Grant01 in forum Programming
    Replies: 7
    Last Post: 05-22-2012, 09:32 AM

Tags for this Thread

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