Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default how change characres to stars when somebody is writting password

I created macro and only few people will use it. How change characters to
stars(on monitor) when somebody is writing password?

below Is macro code:

Private Sub CommandButton2_Click()

Dim z As String

z = InputBox("enter password", "password")

If z = "example" Then
UserForm1.Show
Else
Exit Sub

End If
End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default how change characres to stars when somebody is writting password

You can't change the password character in an Inputbox. But you could use a
textbox on a userform with that textbox's .passwordchar property.

wrote:

I created macro and only few people will use it. How change characters to
stars(on monitor) when somebody is writing password?

below Is macro code:

Private Sub CommandButton2_Click()

Dim z As String

z = InputBox("enter password", "password")

If z = "example" Then
UserForm1.Show
Else
Exit Sub

End If
End Sub


--

Dave Peterson
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
how can I change input statement to show only stars for password **** SAM SEBAIHI Excel Discussion (Misc queries) 5 December 9th 06 06:34 PM
Password Seen as Stars helmekki[_64_] Excel Programming 4 June 11th 05 01:39 PM
stars **** in cells cakonopka[_4_] Excel Programming 3 February 1st 04 05:34 PM
Creating a SPIRAL of stars in Excel jason Excel Programming 0 October 6th 03 02:22 PM
creating a SPIRAL of stars in Excel jason Excel Programming 4 October 6th 03 11:59 AM


All times are GMT +1. The time now is 09:31 PM.

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

About Us

"It's about Microsoft Excel"