Hide password characters in an input box.

Solved
Aloubedi Posted messages 47 Status Member -  
Aloubedi Posted messages 47 Status Member -
Hello/Good evening,

Considering the following code:

Dim acces As String
acces = InputBox("Password", "Super Manager")

If acces = "mmmm" Then
UserForm1.Show
Else
MsgBox "Access denied"
End If

I would like to know how to mask one by one the characters of the password with "****" while the user is typing them.

Thank you in advance!

Configuration: Windows / Edge 17.17134

1 answer