+ Reply to Thread
Results 1 to 5 of 5

Username and password for userform

  1. #1
    Forum Contributor
    Join Date
    05-14-2019
    Location
    Alex, Egypt
    MS-Off Ver
    365
    Posts
    254

    Username and password for userform

    solved thanks (6StringJazzer)
    Attached Files Attached Files
    Last edited by Mahmoudelnemr; 07-16-2019 at 01:25 PM.

  2. #2
    Registered User
    Join Date
    10-05-2012
    Location
    Gainsborough, England
    MS-Off Ver
    Office 2016 & Office 365
    Posts
    87

    Re: Username and password for userform

    I have done the maintenance button for you, you just need to apply the button code to the other buttons and set the passwords.

    password = maintenance

    Change to suit

    Give it a try, hopefully this is what you asked for
    Attached Files Attached Files

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,532

    Re: Username and password for userform

    This is a reasonable method for compliant users. Be aware that malicious users can easily defeat a VBA password mechanism.

    Also note this solution presents the password in the clear. To mask the password you will need to create a custom UserForm with textbox.
    Last edited by 6StringJazzer; 07-16-2019 at 10:33 AM.

  4. #4
    Forum Contributor
    Join Date
    05-14-2019
    Location
    Alex, Egypt
    MS-Off Ver
    365
    Posts
    254

    Re: Username and password for userform

    Quote Originally Posted by jet2004uk View Post
    I have done the maintenance button for you, you just need to apply the button code to the other buttons and set the passwords.

    password = maintenance

    Change to suit

    Give it a try, hopefully this is what you asked for
    Awesome...thank you. It is working exactly as I wanted

  5. #5
    Forum Contributor
    Join Date
    05-14-2019
    Location
    Alex, Egypt
    MS-Off Ver
    365
    Posts
    254

    Re: Username and password for userform

    Quote Originally Posted by 6StringJazzer View Post
    This is a reasonable method for compliant users. Be aware that malicious users can easily defeat a VBA password mechanism.

    Also note this solution presents the password in the clear. To mask the password you will need to create a custom UserForm with textbox.

    Yeah, Thanks for your remark

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Userform Combobox for Username and textbox password
    By maroguy69 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-20-2017, 08:59 AM
  2. VBA - Command Button, Userform, Username and Password
    By tramonroe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2016, 06:19 AM
  3. [SOLVED] Username and Password VBA with the ability for user to change the password
    By egemencoskun in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-24-2014, 05:02 AM
  4. Username/Password Login userform code
    By Nitefox in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2014, 02:43 PM
  5. [SOLVED] Username and Password Form - Show Username in Sheet
    By ryan180 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 07:06 PM
  6. Macro Running Userform for Username/Password
    By Escobarjr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2013, 12:08 PM
  7. Username and password
    By mitelkm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2007, 12:27 PM

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