Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ankur
 
Posts: n/a
Default How to enable grouping in a protected sheet

I am using grouping and ungrouping of cells. I want to protect few cells in
the sheet. So when I protect the sheet, I no more can group or ungroup the
cells. Do we have a solution for this
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
aFAIK there's no solution for this

"Ankur" wrote:

I am using grouping and ungrouping of cells. I want to protect few cells in
the sheet. So when I protect the sheet, I no more can group or ungroup the
cells. Do we have a solution for this

  #3   Report Post  
joltinjoe02
 
Posts: n/a
Default


I had the same problem, heres the fix:

1. Click on Tools-Macro-Visual Basic Editor
2. Double Click on "This Workbook"
3. Insert the Following Code:

Private Sub Workbook_Open()
ActiveSheet.EnableOutlining = True
ActiveSheet.Protect contents:=True, userInterfaceOnly:=True
End Sub

4. Click Save.

The Workbook_Open() routine automatically runs when the workbook is
opened. The next time you open the workbook you should be able to use
the grouping functions on your protected worksheet!


--
joltinjoe02
------------------------------------------------------------------------
joltinjoe02's Profile: http://www.excelforum.com/member.php...o&userid=15949
View this thread: http://www.excelforum.com/showthread...hreadid=273169

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
List, Data Validation, unlocked cell, protected sheet..... Kane New Users to Excel 6 July 16th 12 09:11 AM
Fill down on a protected sheet Pat Excel Discussion (Misc queries) 1 January 19th 05 06:19 PM
Grouping in protected sheets Maia Excel Discussion (Misc queries) 1 January 3rd 05 04:04 PM
password protected Sheet thrava Excel Discussion (Misc queries) 4 December 29th 04 07:54 PM
Why can't I show or hide rows in an outline on a protected sheet? rwlass Excel Discussion (Misc queries) 1 December 9th 04 04:38 PM


All times are GMT +1. The time now is 02:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"