+ Reply to Thread
Results 1 to 4 of 4

password protected button

  1. #1
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    password protected button

    Hello,

    I am trying to create a password protected button in excell. The first person who uses the spreadsheet should only have access to part of the first spreadsheet.

    I have already made a button that can unhide all the other worksheets and certain columns in the first worksheet. How to I password protect this button?

    Thanks a lot for any help

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: password protected button

    Hello kevinexcel,

    In the macro code for the button, you could check the logged on user's name and compare it to a list of authorized people. If the person is not authorized then exit the macro.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: password protected button

    Thanks for the response
    That is a good idea and I tried it but its not exactly what I need because each user does not have their own log in name.
    What is the code to set a password in a similar manner?

  4. #4
    Registered User
    Join Date
    07-14-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2000
    Posts
    18

    Re: password protected button

    bump! Sorry I can not attach a sample but if you need a clearer description please let me know.

+ 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