+ Reply to Thread
Results 1 to 6 of 6

Username and Password VBA with the ability for user to change the password

  1. #1
    Registered User
    Join Date
    01-07-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    65

    Username and Password VBA with the ability for user to change the password

    Hey Guys,

    I am just working on a project and it requires that multiple people to login to one workbook with various access.

    I use the code I got from below;

    http://www.mrexcel.com/forum/excel-q...xcel-file.html

    Please Login or Register  to view this content.

    And this works perfectly fine but I need user to be able to amend his/her password after a successful login.

    And if the logging fails I like the code to ask whether user want to close the workbook or want to try entering username and password again.

    Also if user forgets his password it would be great if the code can send an email to user containing the password.

    Finally I like to keep a log for each successful logins... Date, time and user name.Thanks for you help in advance.
    Last edited by zbor; 04-24-2014 at 05:02 AM.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Username and Password VBA with the ability for user to change the password

    Hi, egemencoskun,

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://www.ozgrid.com/forum/showthread.php?t=187396

    And you should wrap the procedure with code-tags for better readability.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Username and Password VBA with the ability for user to change the password

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  4. #4
    Registered User
    Join Date
    01-07-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Username and Password VBA with the ability for user to change the password

    Thanks that was very helpful...

  5. #5
    Registered User
    Join Date
    01-07-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Username and Password VBA with the ability for user to change the password

    Mike at Ozgrid kindly provided me with this code and I thought I should share it here to help others... I hoe you would find this helpful and it works great for me.

    Linkt to Mikes reply is here - http://www.ozgrid.com/forum/showthread.php?t=187396

    Also the spreadsheeet is attached

    Please Login or Register  to view this content.
    Thanks to Mike :-)
    Attached Files Attached Files

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Username and Password VBA with the ability for user to change the password

    Thank you for sharing code.
    However, you should follow the rules.
    I will edit your post and add code tags.

    About cross-posting, I hope you see that if your question is answered somewhere else then solvers unnecessarily spend their time. That's why providing link to other forums is needed.

+ 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. Replies: 6
    Last Post: 02-09-2013, 03:06 AM
  2. [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
  3. user input of password for username
    By tinkerbelle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-08-2012, 03:03 AM
  4. Display specific user's sheet when username and password is correct
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2012, 04:40 AM
  5. User Password On A Button - Encrypt Password
    By mab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-05-2010, 08:10 AM

Tags for this Thread

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