| Chat with a LIVE Microsoft
Access Expert! |
||||
|
||||
|
#1
|
|||
|
|||
|
I was working on a database I've been building and the program crashed. It errored a few times trying to start back up, so I quit and restarted the program. Now I've lost all my VBA code. Is anyone familiar with this? Is there any way to recover the code? Thankfully I backed it up to an external last night, but I've lost about 5 hours worth of work because of this. At the very least, is there any way to import my old code back in so I can at least keep the changes to the tables and forms themselves?
Thanks -Sam |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Re: Help! VBA Recovery
Oh, quick note, the two errors I remember when it started up was that a form could not be loaded (I was in the process of deleting it when the program crashed), and then it said that it couldn't load the VBA Project. It's not erroring anymore. The code's just not there. I was able to read the code the first time I started it after the crash, but not anymore. I'm wishing I had the forethought to copy it all first before exiting.
|
|
#3
|
||||
|
||||
|
Re: Help! VBA Recovery
Happens to me more often than I would like. Only way to prevent code loss is to compile and save frequently and when you have a module completed, export it so you can reimport it into a new database if you are forced to start over.
__________________
Neatness counts, spelling matters and formatting is REQUIRED.My car runs better when it's clean and so does good code. RTFM - I did. STFW - I do. |
| Sponsored Links |
![]() |
| Tags |
| corruption, missing code, vba |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Navigate Internet Explorer using VBA | ajetrumpet | Access FAQs | 4 | 08-11-2010 09:00 AM |
| Major problems with VBA | davidjearly | Modules & VBA | 8 | 07-29-2010 04:35 AM |
| Access 2007 VBA, form color and filter | Dick7Access | General | 4 | 10-21-2009 07:35 PM |
| vba class | mikevds | Forms | 5 | 02-25-2009 09:53 AM |
| Need VBA in a database - but cant think what for | crazymarvin | Modules & VBA | 2 | 06-03-2007 08:06 AM |