Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable VBA from outside of Database 1

Status
Not open for further replies.

sgidley

Programmer
Nov 19, 2008
20
US
Hello, I somewhere somehow entered code, probably a Close function, that has left me unable to open my database. Possibly I put in a module or something.

Anyways, as soon as I open it and the mainform enters, the database then immediately closes itself and Access closes.

Is there anyway to open the database while disabling all VBA code, (both in a Module and in behind the forms)

Or, Is there any way to edit the VBA code of a database without trying to open it.

Or, can I open the database in "Design Mode"

It would be unfortunate to lose all the structural work I've done so far because a piece of code was wrong...

Thanks!
 
I see, that bypasses the Main Form, and solved my problem.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top