How to Mask your password in the inputbox
How to Mask your password in the inputbox
Hi Alex and welcome to the Forum
Take a look at what Microsoft recommend here: How to create a "Masked Password" dialog box in Office programs by using Visual Basic for Applications
Revision 1: Once you've done that, put this code behind the CommandButton on your Userform (changing names in bold if necessary):
Private Sub CommandButton1_Click()
MsgBox TextBox1.Value
Unload UserForm1
End Sub
When you launch the Userform, type the password (it will appears as a string of asterisks like *****), click the button to enter the form. It will reveal what you typed in a MessageBox (but you'll take that value and check it etc.) and close the form.
I hope you got your issue solved! If not, you can check out this tutorial.
I just made it into a video tutorial that shows the process from start-to-finish.