Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Apps and Windows > Visual Basic

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-04-2010, 07:00 PM
marimambo marimambo is offline
Sam
 
Join Date: Mar 2010
Posts: 2
marimambo is on a distinguished road
Angry Help! VBA Recovery

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
Reply With Quote
Sponsored Links
  #2  
Old 03-04-2010, 07:02 PM
marimambo marimambo is offline
Sam
 
Join Date: Mar 2010
Posts: 2
marimambo is on a distinguished road
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.
Reply With Quote
  #3  
Old 04-22-2010, 11:23 AM
c_smithwick's Avatar
c_smithwick c_smithwick is offline
Underpaid Programmer
 
Join Date: Jan 2010
Posts: 103
c_smithwick is on a distinguished road
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.
Reply With Quote
Sponsored Links
Reply

Tags
corruption, missing code, vba

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -8. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World