Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 22
Send a message via Skype™ to Bakar
Exclamation Masking the character in input box

Hi Masters
I have an input box for password
When i am entering the pw its showing the character ex "1234"
I want to mask the "1234" to "****"
Here is the macro
Const pWord As String = "1234"


Sub UnHide()
Sheet1.Range("b3").Select
Selection.ClearContents
If InputBox("Please enter password to open DATA BASE!", "SQ Sweater SMV", _
"Enter Password") = pWord Then
Sheet5.Visible = xlSheetVisible
Sheet5.Activate

End If

End Sub
Please help

Bakar
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Masking the character in input box

On Wednesday, October 31, 2012 1:49:29 AM UTC-4, Bakar wrote:
Hi Masters

I have an input box for password

When i am entering the pw its showing the character ex "1234"

I want to mask the "1234" to "****"

Here is the macro

Const pWord As String = "1234"





Sub UnHide()

Sheet1.Range("b3").Select

Selection.ClearContents

If InputBox("Please enter password to open DATA BASE!", "SQ Sweater

SMV", _

"Enter Password") = pWord Then

Sheet5.Visible = xlSheetVisible

Sheet5.Activate



End If



End Sub

Please help



Bakar









--

Bakar


Hi
I don't think you can do it with an Inputbox.
I use a Textbox on a userform and in the Properties for the Textbox, you have "Password Char", you can type an asterisk or anything else you like too see.
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
Password style character masking Chrisso Excel Programming 4 July 31st 07 02:03 PM
Masking an input box? british.assassi Excel Programming 1 November 18th 05 06:21 PM
Input Masking a Text box Neily[_3_] Excel Programming 1 January 13th 05 12:00 PM
Masking character Joe Excel Programming 1 September 13th 04 04:17 AM
Limit character input Mike[_37_] Excel Programming 2 August 13th 03 08:18 PM


All times are GMT +1. The time now is 08:49 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"