+ Reply to Thread
Results 1 to 3 of 3

protect sheet with freedom of group/ungroup

Hybrid View

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    riyadh
    MS-Off Ver
    Microsoft 365
    Posts
    26

    protect sheet with freedom of group/ungroup

    dear all

    once i "protect sheet" , i can not group / ungroup the column / row. after protecting sheet, i want the freedon to group/ungroup the column.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: protect sheet with freedom of group/ungroup

    Hi,

    Maybe use a macro to toggle sheet protection. There doesn't appear to be a switch in the sheet protection functionality to ignore grouping.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-01-2014
    Posts
    5

    Re: protect sheet with freedom of group/ungroup

    I had this same problem. Here is what I did:

    Push Alt+F11 to start the "Visual Basic Editor"
    Double-click "ThisWorkbook"
    A module will pop up. Copy and paste the code below:

    Private Sub Workbook_Open()
    With Worksheets("Emp Summary")
    .EnableOutlining = True
    .Protect UserInterfaceOnly:=True
    End With
    End Sub

    That should do it!

    - Coach Fogg

+ 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. [SOLVED] Group/Ungroup in a Protected Sheet
    By ExcelManager01 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-21-2013, 10:39 AM
  2. Group/Ungroup with sheet protected
    By robrobet in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-03-2013, 03:52 PM
  3. Protected Sheet (Group/Ungroup)
    By Merlin54k in forum Excel General
    Replies: 5
    Last Post: 05-14-2007, 03:39 AM
  4. [SOLVED] Group - Ungroup and Protect Sheet
    By glen.e.mettler@lmco.com in forum Excel General
    Replies: 2
    Last Post: 03-18-2006, 08:55 AM
  5. [SOLVED] Group/Ungroup with sheet protected
    By Holt88 in forum Excel General
    Replies: 4
    Last Post: 02-17-2006, 06:10 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