+ Reply to Thread
Results 1 to 4 of 4

Asterix when password entered into InputBox

  1. #1
    Registered User
    Join Date
    04-04-2012
    Location
    worcester
    MS-Off Ver
    Excel 2007
    Posts
    41

    Asterix when password entered into InputBox

    Hi,

    I am using the code as below to password protect the use of a macro. Do you know how I can change it to show "****" instead of "password" when the user is typing it in??

    Please Login or Register  to view this content.
    Merci,

    Adam

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Asterix when password entered into InputBox

    I dont know if you can do that with an Inputbox, but you can create a small userform with a textbox for the password entry. Then in the textbox property PasswordChar you can enter * or whatever you want to.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    04-04-2012
    Location
    worcester
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: Asterix when password entered into InputBox

    Yea I've seen this sort of suggestion around when trawlng the web...I'll try and replicate this then. Thanks a lot for your help.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Asterix when password entered into InputBox

    your only alternative is api calls and a userform is much simpler to do :-)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ 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