Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
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!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
merging cells together but keeping all data from the cells Pete C[_2_] Excel Discussion (Misc queries) 3 May 16th 08 10:14 PM
Protecting a sheet and keeping grouping TommyD Excel Discussion (Misc queries) 0 May 9th 08 08:25 PM
locking formula in cells in without locking whole sheet SuziQ Excel Discussion (Misc queries) 1 July 21st 06 03:58 PM
Grouping or locking cells Pete.K. Excel Discussion (Misc queries) 1 January 29th 06 10:22 PM
How can I unlock the grouping in Excel while locking cells? f Excel Discussion (Misc queries) 0 April 27th 05 03:50 AM


All times are GMT +1. The time now is 12:24 AM.

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

About Us

"It's about Microsoft Excel"