+ Reply to Thread
Results 1 to 3 of 3

Use multiple passwords to protect different ranges of cells in a worksheet

  1. #1
    Registered User
    Join Date
    03-24-2015
    Location
    Yorkshire
    MS-Off Ver
    2007
    Posts
    1

    Question Use multiple passwords to protect different ranges of cells in a worksheet

    Absolute novice but wanting to use one spreadsheet with various ranges of cells to be available for editing to different groups. I understand all the responses regarding ease of getting past this level of protection but this is more than suitable for my needs and as I'm starting out would like to get a basic understanding of how this works before I go gallumping off - I am absolutely certain that the folks using the spreadsheet are even less excel savvy than I am.

    I have no idea of how to write a macro instructing if password entered is A unlock this range of cells to edit and if password entered is B unlock this range of cells to edit etc. - nor do I have any idea of how to get a macro active in a sheet - long way to go!

    Please keep this really simple - I'm hoping someone will come up with a very simplistic way of explaining the structure/language of a macro so I can put together - first macro - be gentle.

  2. #2
    Forum Contributor meus's Avatar
    Join Date
    11-25-2014
    Location
    kathmandu
    MS-Off Ver
    2010/ 2013
    Posts
    287

    Re: Use multiple passwords to protect different ranges of cells in a worksheet

    This is your first macro so try recording your macro first..
    And explain in brief & attach the sample file showing before result and after result...
    This will help us to understand more

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Use multiple passwords to protect different ranges of cells in a worksheet

    There's no need for a macro for this as Excel has a built-in way of doing it. What you're looking for, if I understand you correctly, is setting up ranges for users to be allowed to edit. I'm currently using Excel 2003 (blame my employers!), where it's under 'Tools > Protection > Allow Users to Edit Ranges'. In 2010, which I use at home, I think 'Allow Users to Edit Ranges' is on the 'Review' tab, in the 'Changes' group - I think 2007 is the same.
    You can then select different ranges and give them different passwords. The ranges can overlap or not.
    Attached is a file with 8 ranges set up - I've just left the default names, but you'll normally want to name them something useful.

    The MS online help for this feature is here:
    https://support.office.com/en-US/art...__toc296590752

    Hope that helps.
    Attached Files Attached Files

+ 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. protect worksheet with multiple passwords
    By andyc209 in forum Excel General
    Replies: 2
    Last Post: 02-18-2014, 12:06 AM
  2. [SOLVED] How to Apply Different Passwords to Each Columns without Protect worksheet?
    By Rajeshkumar R in forum Excel General
    Replies: 5
    Last Post: 05-13-2013, 07:26 AM
  3. Password Protect - Multiple Passwords
    By aspears in forum Excel General
    Replies: 0
    Last Post: 12-08-2008, 01:12 PM
  4. Replies: 6
    Last Post: 12-27-2005, 04:20 AM
  5. How to protect different cells by diff. passwords?
    By Mlavi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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