+ Reply to Thread
Results 1 to 10 of 10

Allow group/ungroup functionality in xls worksheet that is protected.

  1. #1
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Allow group/ungroup functionality in xls worksheet that is protected.

    Dear All,
    I have an xls file that will be used by many users. There is a macros inside + different formulas.
    Worksheet is protected and during that protection I place a tick only in field: "Allow all users to of this worksheet to" - "Select unlocked cels"l

    In order to save some space I grouped and hidden some lines which I would like users in case of a need to expand. So I have this "+" button on the sheet. Unfortunatelly when sheet is protected pressing "+" does not work and I get a message that worksheet in protected.

    I searched in internet and there are many solution proposed but none of them is working. I tried 5-6 different codes but no success. Xls still gives me the same message.
    Please help me. I must do something wrong. My xls version is 2007.
    Thanks.

  2. #2
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    Just a thought but have you tried including in your macro a command to unprotect the sheet and then unhide the rows. How did you intend the rows to be hidden again after accessing the hidden rows? Were you hoping that users would hide them again?
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  3. #3
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    Macro is very simple (a button that is clearing the content of a table) and user even might not use it.
    The main function in xls is :
    *user is populating data in partucular column
    *through formula xls is calculationg some parameters.

    There are 3 tables on the sheet and each of them is having 4 lines for data entry. Those 4 lines will be enough in 90 % of the cases.
    in the rest 10 % user will press button "+" and will expand the hiddedn rows.
    the Sheet is protected and those columns where we have a folrmula are locked and user cannot select them at all.
    So how to make group/ungroup functionality working. So when user needs extra rows just to pres the "+" and gets them?

  4. #4
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    So what you are really asking for is to be able to add rows to allow for extra data input by users.

    I can't help with that but you really should post a workbook so that we can see the problem first hand. Take out sensitive/confidential data.

    Update your profile to 2007.

  5. #5
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    That is example of my excell.
    Sheet 1 is protected and has passowrd:
    hi

    Please help me to enable the group/ungroup function. You will notice alredy grouped raws ("+").
    I want pressing of "+" to expand the rows and the sheet still to be protected.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    C'mon guys!?! It can't be so difficult.
    PLease help.
    Erkamu
    Last edited by erkamu; 04-10-2012 at 09:10 AM.

  7. #7
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    Dear xls gurus-any news?

  8. #8
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    I need your help!!!

  9. #9
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    I still need your advice!!!

  10. #10
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Allow group/ungroup functionality in xls worksheet that is protected.

    I think it's best to rename this.

+ 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