I'm not sure if this is the right secoton of the forum...sorry if it isn't
So with this code below I can edit a forum, but I need enter a password. However when you type in the password you can see the letters.
Example:
Let's pretend this is the password box that pops up
_____________________
|What is the password? |
| ___________________|
| Secret |
|____________________|
That's how it shows up, you can see the password.
this is what I want:
_____________________
|What is the password? |
| ___________________|
| XXXXXX |
|____________________|
I want the letters the be hidden so you cannot see what the password is.
How do I do that?
Please explain step by step
Here is the current code:
Private Sub Command25_Click()
Dim Password As String
Password = InputBox("What is the password?")
If Password = "secret" Then
Me.Address.Locked = False
Me.FirstName.Locked = False
Me.LastName.Locked = False
Me.City.Locked = False
Me.Address.Locked = False
Me.StudentNumber.Locked = False
Me.Grade.Locked = False
Me.Homeroom.Locked = False
Me.State_Prov.Locked = False
Me.Postal.Locked = False
Me.TelephoneNumber = False
Me.Contact = False
MsgBox ("You may now make changes")
Else
MsgBox ("Incorrect password, try again")
End If
End Sub
So with this code below I can edit a forum, but I need enter a password. However when you type in the password you can see the letters.
Example:
Let's pretend this is the password box that pops up
_____________________
|What is the password? |
| ___________________|
| Secret |
|____________________|
That's how it shows up, you can see the password.
this is what I want:
_____________________
|What is the password? |
| ___________________|
| XXXXXX |
|____________________|
I want the letters the be hidden so you cannot see what the password is.
How do I do that?
Please explain step by step
Here is the current code:
Private Sub Command25_Click()
Dim Password As String
Password = InputBox("What is the password?")
If Password = "secret" Then
Me.Address.Locked = False
Me.FirstName.Locked = False
Me.LastName.Locked = False
Me.City.Locked = False
Me.Address.Locked = False
Me.StudentNumber.Locked = False
Me.Grade.Locked = False
Me.Homeroom.Locked = False
Me.State_Prov.Locked = False
Me.Postal.Locked = False
Me.TelephoneNumber = False
Me.Contact = False
MsgBox ("You may now make changes")
Else
MsgBox ("Incorrect password, try again")
End If
End Sub