text characters

Z

Zaahir

Hi
On a userform being used as a LogOn, I have two textboxes...txt1 & txt2.
The end user will use txt1 as a UserName entrance & txt2 as a PassWord
entrance.

What code can i use to change the entry from displaying text to displaying
*****, as to provide some form of security? Can this be done?

Thanx in advance
 
N

Norman Jones

Hi Zaahir,

Try something like:

'=============>>
Private Sub UserForm_Initialize()
Me.TextBox2.PasswordChar = "*"
End Sub
'<<=============
 
Z

Zaahir

Perfect
Thanx Norman

Norman Jones said:
Hi Zaahir,

Try something like:

'=============>>
Private Sub UserForm_Initialize()
Me.TextBox2.PasswordChar = "*"
End Sub
'<<=============
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top