What I have is control button that runs some code in Excel when it is clicked. I want to have a text box pop up that asks for a password before the code is run.
I have the following code in right now but when I type the password it shows the password.
mPass = InputBox("Please enter password to run macro"
If mPass <> "password" Then
MsgBox "Incorrect password"
Exit Sub
Else
What is the code to ask for a password and then replace the alpha values in the password with "*". Can someone help me?
I have the following code in right now but when I type the password it shows the password.
mPass = InputBox("Please enter password to run macro"
If mPass <> "password" Then
MsgBox "Incorrect password"
Exit Sub
Else
What is the code to ask for a password and then replace the alpha values in the password with "*". Can someone help me?