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  

Locking cells but keeping Grouping Function available



 
 
Thread Tools Display Modes
  #1  
Old September 22nd, 2008, 03:49 AM posted to microsoft.public.excel.worksheet.functions
Cheriti
external usenet poster
 
Posts: 1
Default Locking cells but keeping Grouping Function available

I am trying to lock cells in a worksheet to protect the formulas but want the
users to still be able to use the grouping function already incorporated-
does anyone know how?

(I know how to lock only specific cells but when I do so it does not allow
the grouping function to expand or contract)

Thanks!
  #2  
Old September 22nd, 2008, 10:44 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Locking cells but keeping Grouping Function available

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

This is sheet event code. Right-click on the sheet tab and "View Code"

Copy/paste into that sheet module. Edit if desired the Alt + q to return to
the Excel window.


Gord Dibben MS Excel MVP

On Sun, 21 Sep 2008 19:49:01 -0700, Cheriti
wrote:

I am trying to lock cells in a worksheet to protect the formulas but want the
users to still be able to use the grouping function already incorporated-
does anyone know how?

(I know how to lock only specific cells but when I do so it does not allow
the grouping function to expand or contract)

Thanks!


 




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 10:18 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.