Unlocking The Code In MDB File

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

On one of my mdb files I played with the option of protecting the Code with a
password. Now I can not access the code. I can open the forms in design
view, but when I want to go to the code it tells me that :
"Microsoft helps protect this Visual Basic for Applications Project with a
password. You must supply the password in the Visual Basic Editor before you
can perform this Ooperation."
It does not give me an option to put in the password, and the place where I
entered or played with the password Is not accesable now.
Any Sugestions on what to do?
Thank you
 
Thank you!

The ctrl-G gets me the imediate window but it still does not allow me to
view or change the Code behind the forms or in the modules. When I go behind
the form to look at the code it opens the Visual Basic window up but I cannot
see the code. When I go to the project window there, instead of seing all my
forms reports etc. I just see the whole project name listed and when I try to
open or click on the plus sign I get the following message:
"Project Locked Project Unviewable" and it has an OK and a Help button,
but the help gets me a blank page.
It is in Access 2002, I cannot open it in Access 2003.
I know the password that I would have put in, but I cannot find a place to
enter it.
 
Open the form in design view and access the code. When the Visual Basic
editor opens, right click on any of the forms and select 'filename'
properties, and this should give you access to the password.
 
Thank you. On my other mdb's where I have not put in a password, it works
that way, but on this one I get the message:
"Project Locked Project Unviewable"
and it does not let me do anything else.

That is where I got in trouble to begin with. That is where I put in the
password or I at least played with it.
 
Back
Top