
Originally Posted by
Gabor
Hi Folks,
I have an InputBox popping up first when the user attempts to open a UserForm and it asks for a password to unlock the protected worksheet. Works fine.
Now, I'd like to have dots appearing in the InputBox, instead of the password itself.
This is because we are operating many occasions via NetMeeting so I just do not want all the people in the world and their dogs to see what that password actually is.
Arigato gozaimasu
Gabor
it may be best to use a userform, with a textbox, then you will be able to set the textbox to password char in the properties window for the textbox, goto password char and enter *
then with the command button you could have
Private Sub CommandButton1_Click()
If TextBox1.Text = "yep" Then
Sheets("Sheet1").Unprotect
Else
MsgBox "nope you don't belong here!"
End If
Unload Me
End Sub
Bookmarks