+ Reply to Thread
Results 1 to 9 of 9

Multi User Login Form - Help

  1. #1
    Registered User
    Join Date
    03-29-2014
    Location
    Portugal
    MS-Off Ver
    Excel 2013
    Posts
    73

    Multi User Login Form - Help

    Hello, Need help adding extra steps into code bellow

    I have this 7 page workbook, my idea is to hide all pages and have sheet1 ("Login") the default landing page, from here the following needs to happen!
    We will have 2 types of users, normal and admin
    Normal user, after login sheet3, 4, 5 & 6 or just one of them becomes visible, on each of these pages there is a navigation bar to give them access to rest of the sheets.
    Admin user, after login sheet2 becomes visible and from here he/she controls access to all sheets


    Idea 1
    1- Add multiuser access in code
    2- Normal user opens sheet3, say!
    3- Admin user opens sheet 2


    Idea 2
    An alternative to the above would be to:
    1- Sheet1 will have 2 command buttons, one to sheet3 and another to sheet2.
    2- Only the adim user will have access to sheet2, we need to add password control to this command button! if this is possible?

    In this option, Step 2 is where I need help please.

    Hope i made this more clear guys
    Opening the attached workbook, username = user, password = 1234

    Many Thanks


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by tfilipe; 04-22-2018 at 07:51 AM. Reason: attaching sample workbook

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Multi User Login Form - Help

    Hello tfilipe,

    I don't think fellow Forum Members would be willing to create a Workbook trying to guess your setup, and provide you with a ready solution. We are here to help you where you become stuck, and it would be good if you could show us where.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Multi User Login Form - Help

    Idea1 (not tested)

    Not sure exactly what you meant by "Load" Sheet2 or Sheet7.

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 04-21-2018 at 10:33 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Multi User Login Form - Help

    @ AlphaFrog,

    Now you have started the guessing game.LOL

    Don't you think Admin should have access to both Sheets 2 and 7?

    Please Login or Register  to view this content.
    Kind regards.

    @ Logit,

    What are you looking at?

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Multi User Login Form - Help

    Every question I reply to is riddled with assumptions.

  6. #6
    Registered User
    Join Date
    03-29-2014
    Location
    Portugal
    MS-Off Ver
    Excel 2013
    Posts
    73

    Re: Multi User Login Form - Help

    Thanks for the feedback Winon,

    I will edit the first post and try to explain my self better

    Cheers

  7. #7
    Registered User
    Join Date
    03-29-2014
    Location
    Portugal
    MS-Off Ver
    Excel 2013
    Posts
    73

    Re: Multi User Login Form - Help

    Thanks for the feedback Winon,

    I will edit the first post and try to explain my self better

    Cheers

  8. #8
    Registered User
    Join Date
    03-29-2014
    Location
    Portugal
    MS-Off Ver
    Excel 2013
    Posts
    73

    Re: Multi User Login Form - Help

    Hello peeps...

    Still need assistance with post 1, if anyone is up for it please!

    Best to all

    Cheers

  9. #9
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Multi User Login Form - Help

    see post 3

+ 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. Access 2007 Compile error in User login form VBA
    By lengwer in forum Access Tables & Databases
    Replies: 1
    Last Post: 06-15-2016, 12:20 PM
  2. user form login
    By cwhite1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2016, 03:38 AM
  3. Access Login Form User Levels
    By Clayhead22 in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2015, 09:12 PM
  4. Access Login Form User Levels
    By Clayhead22 in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2015, 07:51 PM
  5. [SOLVED] User Login Form using VBA
    By sn152 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-08-2014, 11:51 AM
  6. Multi List Box in User Form
    By zimbo109 in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 05-02-2010, 04:08 AM
  7. how do i set up multi page user form
    By Davidrowland88 in forum Excel General
    Replies: 1
    Last Post: 03-03-2005, 04:06 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