+ Reply to Thread
Results 1 to 2 of 2

Assigning editing permissions for different users across different columns

  1. #1
    Registered User
    Join Date
    02-28-2014
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010
    Posts
    16

    Assigning editing permissions for different users across different columns

    Hi All,

    I am putting together a corporate document which requires many different peoples access. It also requires these people to update/comment within specific columns to them.

    I am really struggling with editing the columns to ensure only these specific people can access them.

    Essentially I want to the document to be accessed by everyone, but column A can only be edited by Person A, column B can only be edited by Person B etc.

    I've used 'Allow Users to Edit Ranges' and added a new range with a specified person - but this has not cured the problem, other people can still edit the column I'm trying to prevent them to.

    Is it a case of just 'allowing' the specific person, or do I also need to 'deny' absolutely every other person to ensure that it works?

    Thanks for advance!

    Regards,
    Simon

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Assigning editing permissions for different users across different columns

    Use VBA to determine which user is currently in the spreadsheet:

    Please Login or Register  to view this content.
    Then record macros of yourself protecting all but one column - one macro per different username or column setting to define. Use an IF statement in VBA to determine which macro to run. For example; if you record a macro for John Smith, named JohnSmith, who has the windows username of john.smith, use the following to executive that macro.

    Please Login or Register  to view this content.


    Edit: I've noticed this code does not work on 64 Bit versions of Microsoft Excel. (64 bit windows is fine, just not 64 bit excel)
    Last edited by Speshul; 08-05-2014 at 09:18 AM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

+ 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. Replies: 1
    Last Post: 04-21-2012, 12:50 AM
  2. Number of users sharing a workbook but not editing
    By Art Vandalaye in forum Excel General
    Replies: 0
    Last Post: 04-27-2011, 02:02 PM
  3. multiple users with different permissions
    By fau5tu5 in forum Excel General
    Replies: 0
    Last Post: 02-24-2010, 10:05 PM
  4. Users with different permissions
    By 1.zer0 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 09-02-2009, 08:01 AM
  5. getting a list of users with permissions to a workbook
    By Eric in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2005, 04:06 AM

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