Error Opening Access

jsic1210

Registered User.
Local time
Yesterday, 20:42
Joined
Feb 29, 2012
Messages
188
When deleting a form, Access crashed. When I reopened it, I received the following error message:
The database cannot be opened because the VBA project contained in it cannot be read. The database can be opened only if the VBA project is first deleted. Deleting the VBA project removes all code from modules, forms and reports. You should back up your database before attempting to open the database and delete the VBA Project.
To create a backup copy, click Cancel and then make a backup copy of your database. To open the database and delete the VBA project without creating a backup copy, click OK.

Is there any way to restore the code so I don't lose everything?
 
The only code you still have is in your backup. The code in the current version is gone forever.

If you have significant developement in your current versiion you can paste code from the backup so you don't lose everything you have done.

Did you have other users in the same copy of the database you were working on? This is a reliable receipe for corrupting the project.
 
Originally I was working on a shared drive, but no other users. I had this error message a couple days ago, but only lost a little work. Then I switched to working on my desktop because it's much quicker than our shared drive.
 

Users who are viewing this thread

Back
Top Bottom