+ Reply to Thread
Results 1 to 3 of 3

Input box text format/hiding

  1. #1
    Registered User
    Join Date
    03-23-2007
    Posts
    2

    Input box text format/hiding

    Hello,

    I would like to use an input box to obtain a user password before the rest of a macro is run. Is there a way to mask the user input as it is entered, as is commonly done for passwords (e.g., if the user types in bamboo6 in the input box, Excel recognizes bamboo6 as the password response, but it shows up on the screen as ******* as the user enters it)?

    Thanks for any help.

    Regards.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    No, not on a standard Excel or VBA input box. However, you can create a user form that looks just like an input box to prompt for the password. On the user form, you would use a text box, and within the properties of the text box is the property 'PasswordChar' that you can use to mask the entered text. Just insert any character in this property field.

    HTH

    Jason

  3. #3
    Registered User
    Join Date
    03-23-2007
    Posts
    2

    Thank you.

    It pays to know smart people...

+ 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