+ Reply to Thread
Results 1 to 18 of 18

File Multi - User password

  1. #1
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    File Multi - User password

    Hello Forum
    Hello to all
    Apologies for the language because I do English perfectly blade
    and I just use the translation
    I'd like to do a multi-user file with password and username.
    at the opening of every file goes through a ..ADMIN passwords and other users
    even if the file is opened a thousand times no days .. on tappe password so 1,000 times even for the ADMIN
    this file should automatically closes after 3 false try.
    I want an example with 3 levels: level 2 standard and level 1 ADMIN.
    The Standard Level 1 users have the opportunity only (read only). The Level 2 users can only enter the data in specified leaves no ADMIN and does not have the power to remove or modifiier and will be forced to change their passwords after a limited period (eg every 30 days)
    ADMIN does not need to change their passwords
    I hope I was clear and I hope you can help me because I admit I seek without success.
    thank you in advance for the help
    thank you in advance for any suggestion suggestion ..
    Best regards
    MARTI

  2. #2
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: File Multi - User password

    http://www.vbaexpress.com/kb/getarti...e.php?kb_id=33

    Minch’ duk’ spasum yen inch’ - vor meky galis miasin , yev apahovel pataskhany . Ays kayk’um bats’atrum e, t’ye inch’pes e da karogh e anel.

    or is it:

    Մինչ դուք սպասում են ինչ - որ մեկը գալիս միասին, եւ ապահովել պատասխանը. Այս կայքում բացատրում է, թե ինչպես է դա կարող է անել.

  3. #3
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: File Multi - User password

    Fellow ես միայն Google Translate նույնն է, ինչպես Դուք եք արել, ոչ պետք է երդվում ինձ.

    Which means:

    I only used Google to translate my advice into Armenian - there is no need to swear at me in five languages.

  4. #4
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    Re: File Multi - User password

    Quote Originally Posted by BlindAlley View Post
    Fellow ես միայն Google Translate նույնն է, ինչպես Դուք եք արել, ոչ պետք է երդվում ինձ.

    Which means:

    I only used Google to translate my advice into Armenian - there is no need to swear at me in five languages.

    Hiiii BlindAlley
    Apologies I'm wrong translation
    cordially
    MARTI

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: File Multi - User password

    Mart marti, I sent you a PM, please check and reply
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: File Multi - User password

    The attached has a user form that requires the user to enter their username and password before proceeding.
    It also has the capability of restricting access for different users.

    Currently:
    UserName Password
    admin admin
    User1 User1pw
    Sandeep password
    User2 User2pw


    Any user can change their password.

    Any user whose username starts with "admin" has administrative access.

    Administrative access can see any sheet, add or remove users, change the access of any user, reset a users password (but not detect their current password or change it to anything other than the default )

    Passwords are case sensitive, usernames are not.
    Attached Files Attached Files
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  7. #7
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    Re: File Multi - User password

    2.png
    Quote Originally Posted by mikerickson View Post
    The attached has a user form that requires the user to enter their username and password before proceeding.
    It also has the capability of restricting access for different users.

    Currently:
    UserName Password
    admin admin
    User1 User1pw
    Sandeep password
    User2 User2pw


    Any user can change their password.

    Any user whose username starts with "admin" has administrative access.

    Administrative access can see any sheet, add or remove users, change the access of any user, reset a users password (but not detect their current password or change it to anything other than the default )

    Passwords are case sensitive, usernames are not.
    Hiiii MIKERICKSON
    thank you for help me
    a little problem please see this picture
    cordially
    MARTI

  8. #8
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: File Multi - User password

    Quote Originally Posted by Mart Marti View Post
    Hiiii BlindAlley
    Apologies I'm wrong translation
    cordially
    MARTI
    Apology accepted Marti

  9. #9
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: File Multi - User password

    Quote Originally Posted by Mart Marti View Post
    Attachment 405111
    Hiiii MIKERICKSON
    thank you for help me
    a little problem please see this picture
    cordially
    MARTI
    I see the picture but don't see what your problem is
    UserDelimiter should be declared as a constant at the start of the frmAccess Userform code module.
    The code you highlighted should also be from the same module.

    What error is that line causing?

  10. #10
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    Re: File Multi - User password

    Hiiii MIKERICKSON
    thank you for help
    this problem is solved
    but i have please and thank you in advance
    how to change passwords
    also how to change password for char it appears the stars
    cordially
    MARTI

  11. #11
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: File Multi - User password

    If you log in as admin, there is an option to press YES for administrator functions.
    There you can add, delete users and control their access.

    You should note that there are two kinds of access control. One specifies which sheets a user is allowed to see, the other which sheets a user is forbidden from seeing.

    The difference isn't meaningful until a new sheet is added after the access levels are set. If the user is "allowed to see X, Y, Z" style access then they will not see the new sheet. If a user has "forbidden to see A, B, C" style access, they will be permitted to see the new sheet.

  12. #12
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    Re: File Multi - User password

    33.png
    Quote Originally Posted by mikerickson View Post
    If you log in as admin, there is an option to press YES for administrator functions.
    There you can add, delete users and control their access.

    You should note that there are two kinds of access control. One specifies which sheets a user is allowed to see, the other which sheets a user is forbidden from seeing.

    The difference isn't meaningful until a new sheet is added after the access levels are set. If the user is "allowed to see X, Y, Z" style access then they will not see the new sheet. If a user has "forbidden to see A, B, C" style access, they will be permitted to see the new sheet.
    Hiiii master
    thank you for the explanation and pou help
    Please, I have two questions:
    1-how to remove these two definitely name and leave only (admin + user1 + user2) please see (red arrow)
    2-how to add or remove sheets to any user (arrow Green)

  13. #13
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: File Multi - User password

    1) To remove a user
    Select the user that you want to remove from the drop down in the upper right of the administration dialog.
    Press the Delete User button and confirm

    2) to control access
    Select the user whose access you want to control from the drop-down.
    The user's current access will be shown in the Listbox and in the Deny/Grant access checkbox.
    Change the access to the desired access and press UPDATE ACCESS.

    Note that all users have access to the sheet whose tab name is MasterSheet, code name Sheet1. This can be controlled in the UserForm Intialize event.
    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    Re: File Multi - User password

    thank you teacher MIKERICKSON
    thank you for help
    thank you for the explanation
    thank you for your sacred time has help me
    cordially
    MARTI
    thank you.jpg
    Last edited by Mart Marti; 07-03-2015 at 09:06 PM.

  15. #15
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    Re: File Multi - User password

    Hiiii master
    Apologies for the derangement
    I have one comment
    I have choose for user1 : (sheet AAA + sheet BBB)
    I have chosen for user2: ( sheet CCC + sheet DDD )
    for user1 it works very well but for user2 it does not work I have for him choosen
    thank you in advance for solve my little and last problem
    cordially
    MARTI
    admin et utilisateur 1.xlsm

  16. #16
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: File Multi - User password

    My guess is that you might have the Allow/Deny setting different.
    Also, there has to be at least one sheet that everyone can see.

  17. #17
    Registered User
    Join Date
    05-04-2015
    Location
    ARMENIA
    MS-Off Ver
    office 2010
    Posts
    79

    Re: File Multi - User password

    Quote Originally Posted by mikerickson View Post
    My guess is that you might have the Allow/Deny setting different.
    Also, there has to be at least one sheet that everyone can see.
    Hiiii MIKERICKSON
    in any case thank you
    cordially
    MARTI

  18. #18
    Registered User
    Join Date
    07-22-2015
    Location
    qatar
    MS-Off Ver
    2007
    Posts
    7

    Re: File Multi - User password

    Hi MIKERICKSON

    Can I use this password for another workbook? How to assign a Macro to a button?

    Regards

    Vvk

+ 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. [SOLVED] Multi-user workbook; each with a password to see their personal sheet
    By jlheath01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2014, 02:16 PM
  2. Multi User shared workbook password protection?
    By dougt69 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2013, 10:26 PM
  3. How do we build multi users userform with individual user id & password
    By tvc.james in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2012, 04:32 AM
  4. Multi user excel with password
    By Zeeman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-21-2011, 06:36 PM
  5. macro to update multi user file
    By confused 786 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2011, 06:41 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