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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Locking from data entry but allowing oulining to function?



 
 
Thread Tools Display Modes
  #1  
Old March 26th, 2010, 03:39 PM posted to microsoft.public.excel.misc
saharafrog
external usenet poster
 
Posts: 1
Default Locking from data entry but allowing oulining to function?

I would like to lock a set of rows and columns, but still allow the users to
use the grouping I have set on various spreadsheets. Is this possible? If
so, how to make it work, current if I lock any posrtion of the page, then
thry to use the grouping buttons... they tell me the data is locked and
protected.
  #2  
Old March 26th, 2010, 08:29 PM posted to microsoft.public.excel.misc
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Locking from data entry but allowing oulining to function?

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 Fri, 26 Mar 2010 08:39:01 -0700, saharafrog
wrote:

I would like to lock a set of rows and columns, but still allow the users to
use the grouping I have set on various spreadsheets. Is this possible? If
so, how to make it work, current if I lock any posrtion of the page, then
thry to use the grouping buttons... they tell me the data is locked and
protected.


 




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:58 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.