mrong
asked on
Supply password in Visual Basic Editor?
Hello,
I got the foolowing message while I tried to add a button on a form(Access2002 SP3)
"Microsoft helps protect this VIsual Basic for Application Protect with a password. You must supply the password in the Visual Basic Editor before you can perform this operation."
Anyone knows the reason?
Thanks.
I got the foolowing message while I tried to add a button on a form(Access2002 SP3)
"Microsoft helps protect this VIsual Basic for Application Protect with a password. You must supply the password in the Visual Basic Editor before you can perform this operation."
Anyone knows the reason?
Thanks.
Someone passworded the code so that others would not modify it.
Sorry. I was writing at the same time as you.
ASKER
well...I am the person create the database, but I don't think I put any password on it. Anyway, is there a way to clear/reset the password?
Thanks.
Thanks.
I got this from MS help:
Important: If you forget your password, it can't be recovered, and you won't be able to view or edit the VBA code.
Important: If you forget your password, it can't be recovered, and you won't be able to view or edit the VBA code.
ASKER
where can I supply the password?
go to Tools/Project Properties while in VBA and select the protection tab. That is, if you have access to it.
ASKER
It saying "project is unviewable"
Where can I type the password to unlock the project?
Thanks.
Where can I type the password to unlock the project?
Thanks.
As soon as you attempt to access the VBA coding environment, it should prompt you for that password. If it doesn't, something else may be wrong. When exactly do you get the error message above? Do you get it when you try to access the VBA coding environment?
ASKER
I got the following message as soon as I tried to access the VBA coding environment. It didn't prompt for password.
"Microsoft helps protect this VIsual Basic for Application Protect with a password. You must supply the password in the Visual Basic Editor before you can perform this operation."
"Microsoft helps protect this VIsual Basic for Application Protect with a password. You must supply the password in the Visual Basic Editor before you can perform this operation."
What version of Access are you using?
ASKER
The database was created by Access 2000. I use Access2000 to open it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok..I just remembered something. This database is on the server. couple of my co-workers upgrade from Access 2000 to Access 2003. To avoid the security warning message(when open DB remotely), they installed the digital certificate. I think that might be the reason.
THanks.
THanks.
You might also want to try one of the many "Passsword Cracker" services available.
Just do a search in Google "Access VBA Password Crack", and see what they have.
Just do a search in Google "Access VBA Password Crack", and see what they have.
That is precisley what the message is telling you.
AW