Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Msg/Input Box Password Char

    Hello all,

    Is it possible to set a password character for an input box or msg box instead of using a form?

    I am using Excel 2000/Win98SE

    Thanks,
    Mike

  2. #2
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Kortrijk, Belgium
    Posts
    571
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Msg/Input Box Password Char

    As far as I know, this is not possible. But, of course, you can make a form, which resembles very much the inputbox dialog box and add the following code in the initialize event of the userform:

    Private Sub UserForm_Initialize()
    TextBox1.PasswordChar = "*"
    End Sub

    where the textbox replaces the actual inputbox.

Posting Permissions

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