Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Apr 2002
    Location
    Evansville, Indiana, USA
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Input Prompt (2007)

    Is there a way to prompt a user for a password trough a message box? I thought this would be easier than creating a new form with one input field.

    BZ

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Input Prompt (2007)

    You can use the InputBox function:

    Dim strPassword As String
    strPassword = InputBox("Please enter your password")
    If strPassword = ...

    but there is no way to mask the password by displaying asterisks or something similar as the user types. You'd need a form with a text box for that. (One of the choices for the Input Mask property of a text box is PASSWORD.)

  3. #3
    2 Star Lounger
    Join Date
    Apr 2002
    Location
    Evansville, Indiana, USA
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Input Prompt (2007)

    Thanks, thats what i needed.

Posting Permissions

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