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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|