Sep 11, 2001 #1 Lavey IS-IT--Management Jun 1, 2001 115 DE Hi can i set a password on a command button that opens a form? Just a quckie i hope ?!! Cheers
Sep 11, 2001 #2 jebry Programmer Aug 6, 2001 3,006 US Hi! In the Form's Open event procedure use the following code: Dim strPassword as String strPassword = InputBox("Please Enter the password: " If strPassword <> "YourPassword" Then Cancel = -1 End If hth Jeff Bridgham Upvote 0 Downvote
Hi! In the Form's Open event procedure use the following code: Dim strPassword as String strPassword = InputBox("Please Enter the password: " If strPassword <> "YourPassword" Then Cancel = -1 End If hth Jeff Bridgham
Sep 12, 2001 Thread starter #3 Lavey IS-IT--Management Jun 1, 2001 115 DE Nice1, that'll do me thanks alot Jebry!! Upvote 0 Downvote