+ Reply to Thread
Results 1 to 7 of 7

Big challenge: protect multiple sheets AND enable outlining AND enable insert comment

  1. #1
    Registered User
    Join Date
    10-23-2010
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    3

    Big challenge: protect multiple sheets AND enable outlining AND enable insert comment

    "Dear experts, I've a big challenge. What I need is a VBA code for the excel file attached, that does:

    - protect all sheets at once with a password
    - enables outlining (grouping, + and -) on all sheets
    - allows users to insert comments in protected and unprotected cells

    I've already tried lots of things in the VBA, and always one of the above requirements worked, but I can't manage to get all of them work, and I didn't find someone with the same problem/solution on the forums.

    If there is one of you that can give me required VBA code, I would appreciate that greatly!"
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Big challenge: protect multiple sheets AND enable outlining AND enable insert com

    First please remove "Big Challenge:" from your Thread Title - it adds no value and detracts from Search facility.

    Have you tried an open even along the lines of:

    Please Login or Register  to view this content.
    modify as necessary

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Big challenge: protect multiple sheets AND enable outlining AND enable insert com

    per the note at MrExcel - if you cross post do so politely be disclosing all other links

    http://www.mrexcel.com/forum/showthread.php?t=503852

    you will find this requirement is clearly stated in the Forum Rules

  4. #4
    Registered User
    Join Date
    10-23-2010
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: protect multiple sheets AND enable outlining AND enable insert com

    Hello Donkeyote,

    Ok, I will proceed on this forum, as I didn't know that the same people are on the different forums.

    But I tried your code in the VBA,

    but it didn't work. Do you know what I do wrong?

    BR

  5. #5
    Registered User
    Join Date
    10-23-2010
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Big challenge: protect multiple sheets AND enable outlining AND enable insert com

    Hello Donkeyote,

    Your code works! the only problem is when the users choose not to use macros (when starting up the excel file. Then the sheets are not protected at all.

    Do you have a solutions for that?

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Big challenge: protect multiple sheets AND enable outlining AND enable insert com

    I've not been on line I'm afraid.

    Please first edit the title of your thread as requested.

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Big challenge: protect multiple sheets AND enable outlining AND enable insert com

    Your post does not comply with Rule 7 of our Forum RULES. Please do not ignore Moderators' or Administrators' requests - note that this includes requests by senior members as well, if you are unclear about their request or instruction then send a private message to them asking for help. Do not post a reply to a thread where a moderator has requested an action that has not been complied with e.g Title change or Code tags...etc

+ 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