+ Reply to Thread
Results 1 to 3 of 3

Login sheet rather than login form?

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    78

    Login sheet rather than login form?

    I know that you can create a login userform in excel but i was wondering if it is possible to set up a sheet which allows the user to login from. I have included my sheet which i would like the user to login with but not sure how or if it is possible to do so. If it is possible It would be great if someone could also tell me how it would need to be done. Thanks.
    Attached Files Attached Files
    Last edited by mdovey; 12-06-2013 at 08:03 PM.

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

    Re: Login sheet rather than login form?

    Login to what? What does the user have to login to be able to do/access?

    Here is a skeleton based on your file that collects a userid and password but you will have to write the code to determine whether it's a valid combination. See module Login. The public variable LoggedIn can be called from any other module to determine whether a user has logged in. I used textboxes instead of cells so that it is easy to mask the password.
    Attached Files Attached Files
    Last edited by 6StringJazzer; 12-06-2013 at 05:17 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    10-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: Login sheet rather than login form?

    Sorry I haven't made it too clear as i have no idea how i would make a login on a sheet rather than a userform. I would like the user to enter in their username and password and if the input matches an existing account I want them to be taken to another sheets but if it is incorrect i want them to be denied of being redirected to this sheets and stuck on the login page until they enter a correct account or close the workbook all together. The username and password would be stored on another sheet in a table which would be checked once the enter button is pressed.

+ 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. login and logout time , with total login time ,break> 1 hours
    By shrinivasmj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-12-2013, 05:37 AM
  2. Login ID form not working
    By amangupts in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2011, 10:40 AM
  3. Login Form
    By phatus in forum Access Programming / VBA / Macros
    Replies: 5
    Last Post: 11-06-2010, 09:56 AM
  4. find the login user and saving /login the name
    By belkin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2008, 08:24 AM
  5. login form
    By missing in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-04-2006, 04:02 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