+ Reply to Thread
Results 1 to 13 of 13

validating username and password thats stored on a sheet.

  1. #1
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    validating username and password thats stored on a sheet.

    Hello,

    I have a simple issue yet hard for me to figure out. If i have ten usernames in column "A" and i want to match the corresponding password in the same row but in column "D", how do i do that?

    So my user name is for example TEST and its in column "A2", my password is for example TESTING, but its in "D2". How can I check that the username that was entered in the textbox actually exist in column "A" and if it does, how do i check in column "D" that it matches?

    Please help, i have been trying and experimenting with this for a while with no result, thank you.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: validating username and password thats stored on a sheet.

    I don't understand the way you have described your problem.

    It would probably help if you upload a sample workbook.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    Ok, thanks for your interest in helping. I have a list of usernames in column "A", when the user are registering for the application, they are prompted to enter their username. The app will then cycle through all the usernames that i have already created and if the username the person is entering exist in the list i already created, it allows them to create a password for this user, the password is then stored in column "D". All that i have said above, i have already created codes to do.

    where i am having the problem is how do i validate the information? If the usermane in "A3" is mcintyre, then when i am registering its going to store the password i create in "D3".

    When the user is logging in, how do i let the username he entered in the username field match what is in "A3" and how do i let the password that he entered match what is in "D3"?

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: validating username and password thats stored on a sheet.

    Please Login or Register  to view this content.

    Regards, TMS

  5. #5
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    Thank you again in your interest in helping, I have uploaded a file similar to what i want to do. I had to remove most of it to get it to the size required for uploading here, but there should be enough to help you help me, thank you.
    Attached Files Attached Files

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: validating username and password thats stored on a sheet.

    Your VBA Project is password protected.

    Regards, TMS

  7. #7
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    sorry, the password is "jesus", or if you wish i can upload an unprotected version, thanks.

  8. #8
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    TMS, the issue is, if i register a user to the application, the information stores, the username, the password, the retype password, the validation answer, they all stay. However, if i try to register again, i am trying to let it say user already registered. The application will already have a list of usernames in column "A" that will be able to use the application. If your username is not in the list in column "A", then a message display saying "user is not authorized for emailing".

    Let me know if i have described the issue clearly for you to help, if not i can try explaining again, no prob.

  9. #9
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    Any help here?

  10. #10
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    Help!!

  11. #11
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    Help!!

  12. #12
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    Hello, is it that this task is hard to do, or it cannot be done? I am trying really hard to get it done, but cant figure it out and I seem to not be able to get help via this forum either which is a first. Normally when i post something here, people would try and assist, but for this one i havent got much responses. If it can be done, someone please assist.

  13. #13
    Forum Contributor
    Join Date
    09-15-2012
    Location
    Jamaica
    MS-Off Ver
    Microsoft 365
    Posts
    244

    Re: validating username and password thats stored on a sheet.

    help, help, help!!!!!

+ 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. Create a Log in sheet using username/password
    By trickard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2013, 11:06 PM
  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. 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
  4. Username and password
    By mitelkm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2007, 12:27 PM
  5. username/password
    By nicmarty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2007, 06:58 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