I am using an inputbox as a password screen in my application, but forgot how to choose what the pasword is and. Is it something like if inputbox.txt = "password" then etc. etc.?
Please help
Printable View
I am using an inputbox as a password screen in my application, but forgot how to choose what the pasword is and. Is it something like if inputbox.txt = "password" then etc. etc.?
Please help
No, InputBox is a function, it returns the string:
Code:Dim strPassword As String
strPassword = InputBox("Please type in password:")
If strPassword = "password" Then
'Granted
Else
'Declined
End If
thanx yuo are right. I figured it out
you would probably be better off to use a textbox on a form, so that you can set passwordchar to *