Thread: text characters
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default text characters

Hi Zaahir,

Try something like:

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


---
Regards,
Norman



"Zaahir" wrote in message
...
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