+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    peterborough
    MS-Off Ver
    Excel 2003
    Posts
    8

    Worksheet password

    Hi,

    I have a excel workbook with several worksheet relating to different divisions. One division may have 1 worksheet, 2 worksheets 3 worksheets, 4 worksheets or more etc..

    I have attached a workbook with some worksheets for some divisions, for example i want division SH to see worksheets Beech, Carl, Oak and Martin, LC to only see MRF, NHFT, FUND, PM to only see IT etc...

    There are over 20 divisions with nearly 100 worksheets in my workbook and i only want the divsion to see worksheets relating to them..

    Does anybody know of a code that will ask the division for a user name and password and then only let them see the worksheets in the workbook that relate to them.

    Please help as i am struggling with something this complectaed.

    Thanks
    Attached Files Attached Files
    Last edited by s999; 03-18-2010 at 10:17 AM.

  2. #2
    Forum Moderator dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003 & 2007
    Posts
    3,661

    Smile Re: Worksheet password

    Good afternoon s999

    I have a template available that does exactly what you require. It stores a list of users and passwords, and which sheets are to be accessed by which users. You, as administrator, can see all worksheets and control which sheets users can access.

    The security on this isn't 100%, as we are using Excel, which by its very nature is not completely secure, but it should keep out most nosey parkers.

    If you prefer to write something of your own, then all my code is unprotected, so you could use that to get some ideas, or fine tune the workings.

    If you would like a copy of this template, then please PM me your e-mail address.

    HTH

    DominicB
    Now available : Ultimate Add-In 2007
    Integrates directly into the Office Excel Ribbon


    Download Ultimate Add-In v1.52 from www.dom-and-lis.co.uk
    90+ Utilities, 200+ Sub utilities last updated 25th April 2008
    Free!!

  3. #3
    Registered User
    Join Date
    03-10-2010
    Location
    peterborough
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Worksheet password

    Thanks Dominic,

    Can you please email me at e-mail address removed as it will be really appreciated.

    Cheers
    Last edited by dominicb; 03-19-2010 at 01:18 PM.

  4. #4
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,443

    Re: Worksheet password

    I wouldn't post your email address, see this

    [URL=http://www.4shared.com/file/119595962/472a0fcb/PASSWORD_FORM4.html]PASSWORD FORM4.zip[/URL
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    Check out the free Excel Toolbar

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)


    Code Tags: Make your code easier for us to read

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.2.0