I am studying A-Level computing and i need to work out a simple password code (for an access database) that will open when the database is opened... I have done...
Private Sub Form_Load()
Dim password, response
response = InputBox("Type your password here")
Title = "Password Entry"
If password = response Then
msgbox = ("Password Correct")
msgbox = ("Password Incorrect")
But its not working Can anyone show me how to correct this, tell me if ive done it totally wrong or show me a different way to do it?