Results 1 to 5 of 5

Trying to edit user permissions under "Allow user to edit ranges" using VBA

Threaded View

Whizbang Trying to edit user... 09-02-2009, 04:32 PM
Whizbang Re: Trying to edit user... 09-02-2009, 05:12 PM
Leith Ross Re: Trying to edit user... 09-02-2009, 05:19 PM
Whizbang Re: Trying to edit user... 09-02-2009, 05:25 PM
romperstomper Re: Trying to edit user... 09-02-2009, 05:33 PM
  1. #1
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Trying to edit user permissions under "Allow user to edit ranges" using VBA

    Ok, so I have this bit o' code by recording a macro

        ActiveSheet.Protection.AllowEditRanges.Add Title:="Rage1", Range:=Range( _
            "A2")
    The only problem is that, while recording, I also set permissions specific to a user by:
    1:Clicked on "Permission"
    2: clicked "Add".
    3:The object type and location were already entered so I entered the user id and hit ok.

    This part does not reflect in the code. Does anyone know of a way to add permissions with VBA?
    Last edited by Whizbang; 09-02-2009 at 05:19 PM.

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