troubleshooting Question

VBA code to prompt user to enter a password when the user wants to access a form or report in DESIGN view

Avatar of sxxgupta
sxxguptaFlag for United States of America asked on
Microsoft Access
12 Comments1 Solution1572 ViewsLast Modified:
Could someone kindly help me with coming up with VBA code that prompts a user to enter a valid password in a message box (with an OK and Cancel button) when the user wants to access a form or report in DESIGN view.  If the password is incorrect, the user is prompted with a message box (with OK and Cancel button) stating "Incorrect Password, Try Again" and loop back through the code until a valid password is entered.  Or the user has the option to click on the Cancel button to exit out of the message box and stop the VBA code.  If the password is correct, the user can access the form or report in design view.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros