Help needed

  • Thread starter Thread starter Guest
  • Start date Start date
Hi,
if you need that only person, who knows password, can open form - then you
can write following code in form's Open event:

if inputbox("enter password") = "mycoolpassword" then
'ok
else
'cancel
msgbox "You need to enter correct password!"
cancel=true
end if

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top