A Alex Dybenko Aug 20, 2007 #2 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
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