Setting Password Char in InputBox?

Hi,

I am trying to set the password char property of an inputbox and would like to know if there is a simpler solution rather than having to put in alot of code like the script here:

http://www.freevbcode.com/ShowCode.asp ID=1214

Any help is greatly appreciated.
Thanks



Answer this question

Setting Password Char in InputBox?

  • Kaos

    Hello Scott,

    If you have any problems, just write back.

    Chas


  • Daikoku

    Hello Scott,

    It will be easier to use a userform with a text box.

    Then set one of the properties PasswordChar (or something similar, to the character you want)

    In the VBE when you have selected TextBox (after having placed it on the form). View the properties of it and you will see the one for Password char.

    Am in a bit of a hurry now, but if no one has answered you by the time I get free I will reply with a more detailed response.

    Chas


  • micha12

    Cheers, i'll give it a go now... :)
  • Setting Password Char in InputBox?