A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

group/ungroup protected sheets?



 
 
Thread Tools Display Modes
  #1  
Old March 24th, 2010, 07:41 PM posted to microsoft.public.excel.worksheet.functions
RLD
external usenet poster
 
Posts: 12
Default group/ungroup protected sheets?

Is it possible to allow users to group & ungroup rows in a protected sheet?
  #2  
Old March 25th, 2010, 06:46 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default 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?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:05 PM.


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