Hello
I am trying to use this code to make access to other events password protected.It works ok except when you type 'MyPassword' it is visible in the entry box. Is there any code I can add to make it '**********'.
[vba]
Option Explicit
'This code goes in UserForm OptionButton1, change the name to match your command buttons name.
Private Sub OptionButton1_Click()
Dim sPassword As String
sPassword = InputBox("Enter Your Password")
If sPassword = "mypassword" Then
Else
MsgBox "Password incorrect!"
Exit Sub
End If
End Sub
[/vba]
Many thanks for any suggestions
Gil