+ Reply to Thread
Results 1 to 4 of 4

Need to cipher a Text Box entry

  1. #1
    Registered User
    Join Date
    03-26-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    11

    Need to cipher a Text Box entry

    Hi all members
    I am trying to setup a username and password arrangement in one module of my project. I plan to provide a textbox for entering the user name and another for entering the password. what i need is that when the user enters his password in the textbox provided for password, it should appear as ******** or #######. How can i make this possible. Thanks for your valuable help

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Need to cipher a Text Box entry

    saji,

    Assuming you're using a textbox on a userform or an activex textbox on a worksheet, go to the textbox's properties and set the PasswordChar property to be the desired masking character.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need to cipher a Text Box entry

    Hi and welcome to the forum

    Use the TextBox PassWordChar Property and specify either * or # or whatever.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    03-26-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Need to cipher a Text Box entry

    thank you all. It did work wonderfully. My problem is solved. thanks once again
    saji

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1