Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default text characters

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default text characters

Perfect
Thanx Norman

"Norman Jones" wrote:

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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
from the text 4 pcs., how to remove only characters/text chriswyn Excel Worksheet Functions 1 May 24th 10 04:24 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 09:56 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 12:25 AM
get more than 255 characters from text box Bob Umlas[_3_] Excel Programming 0 September 7th 04 02:24 PM
get more than 255 characters from text box Dave Peterson[_3_] Excel Programming 0 September 7th 04 02:22 PM


All times are GMT +1. The time now is 11:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"