+ Reply to Thread
Results 1 to 3 of 3

Password protection for a macro button

  1. #1
    Registered User
    Join Date
    10-24-2008
    Location
    france
    Posts
    53

    Password protection for a macro button

    Hello there,

    I have a button that executes a macro which basically activates a worksheet. I wish to put a password which would allow only certain users to access this worksheet through this button.

    Could you guys help me figure out a way of achieving this?

    thanks in advance for your help

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I have posted code to do this, so a Forum Search would save you time. See this earlier post
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    10-24-2008
    Location
    france
    Posts
    53

    Smile Another code

    Hello RoyUK,

    Thank you for your help. I tried your solution out but i could not get it to work. a problem with the pw1. I am not good enough to figure out the source of the problem.

    However, i managed to find some info and i managed to do what i was trying to.

    Please Login or Register  to view this content.
    I guess this solution must be a little fragile but it is simple. Ill try figuring out your proposed solution too, helps me understand vba.

    thanks a lot for your help
    Last edited by ramakavin; 12-08-2008 at 05:25 PM.

+ 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