ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   group/ungroup protected sheets? (https://www.excelbanter.com/excel-worksheet-functions/259802-group-ungroup-protected-sheets.html)

RLD

group/ungroup protected sheets?
 
Is it possible to allow users to group & ungroup rows in a protected sheet?

Gord Dibben

group/ungroup protected sheets?
 
You must have the DataGroup and Outline area pre-set.

Then you add event code to the worksheet module.

Private Sub Worksheet_Activate()
With Me
.Protect Password:="justme", userinterfaceonly:=True
.EnableOutlining = True
End With
End Sub

This will allow showing and hiding detail on a protected sheet.


Gord Dibben MS Excel MVP

On Wed, 24 Mar 2010 12:41:01 -0700, RLD
wrote:

Is it possible to allow users to group & ungroup rows in a protected sheet?




All times are GMT +1. The time now is 12:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com