+ Reply to Thread
Results 1 to 5 of 5

Require User Login

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,177

    Require User Login

    I worked out most my problems, now Im trying to work out this Excel problem :D
    I have a login macro, where I have setup User initials on sheet7 and using a prompt the user enters there intials.
    From here I want to prevent the use of the workbook (Hiding buttons, I already have that working) for non-approved users.

    Please Login or Register  to view this content.
    Attached file has internal macros.

    Any hints, tips or examples are appreciated.
    Attached Files Attached Files
    Regards

    Rick
    Win10, Office 365

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Require User Login

    Not really sure by your post what you want done? Everything seems alright in your workbook. As for non-approved users, maybe you should try hiding all sheets except fo rthe Main Page sheet and if the user initials match up, unhide appropriate sheets, else keep them hidden.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,177

    Re: Require User Login

    All the sheets are normally hidden, they are viewable for this query.
    The current code doesnt work, I can type anything at it allows the buttons to be enable on my form.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Require User Login

    Here is one way.

    Please Login or Register  to view this content.
    It uses the MATCH function to check whether the initials are in column G.
    There is also a prompt incase the user wants to escape the process of trying intials entry.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,177

    Re: Require User Login

    Thank you Andy!
    Im going to have to study this one, I understand some of it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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