Results 1 to 2 of 2
  1. #1
    tcheck is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Nov 2010
    Posts
    131

    Lost code


    About 5 years back I replaced a macro with code. So in my Switchboard I created a Command from the Macro to Run Code called mcr_ImportDaily. Now I can not find that code in VB. Can anyone tell me how to find that code?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    There are a couple of places you can check:

    1. Look in your MODULES in your navigation pane in the left hand margin. If you arrange that window by object type it'll be the last category
    2. On the form where this function exists, hit alt-F11, that should bring up your code window, then you can scroll through it to look for your function or just hit ctrl-F to open your find window.
    3. The least likely thing to do is to look in all modules of your database, if you've declared this as a public function it could quite literally be anywhere in your database attached to any form etc.

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

Similar Threads

  1. Replies: 9
    Last Post: 11-05-2017, 05:20 AM
  2. So Lost!!
    By pshoestir in forum Programming
    Replies: 6
    Last Post: 08-29-2015, 10:40 PM
  3. i have lost everything!!!
    By ariansman in forum Access
    Replies: 3
    Last Post: 08-24-2014, 12:18 AM
  4. Lost VBA Code
    By DavidKond in forum Access
    Replies: 2
    Last Post: 01-30-2014, 12:26 AM
  5. Lost Network
    By chessico in forum Access
    Replies: 0
    Last Post: 08-11-2011, 06:10 AM

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