Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mkf
 
Posts: n/a
Default Group & Outline in Protected Worksheets


Can anyone help with this

I have created a file and grouped the data at 5 different levels for
viewing/reporting. Most of the cells in the worksheet contain formulas
so I would like to project the cells but when I protect the worksheet I
lose the ability to group and ungroup the data. Is there anyway I can
protect the cells/worksheet and still have the option of group/outline?

Many thanks


--
mkf
------------------------------------------------------------------------
mkf's Profile: http://www.excelforum.com/member.php...nfo&userid=601
View this thread: http://www.excelforum.com/showthread...hreadid=541921

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Group & Outline in Protected Worksheets

If you already have the outline/subtotals/autofilter applied, you can protect
the worksheet in code (auto_open/workbook_open??).

Option Explicit
Sub auto_open()
With Worksheets("sheet1")
.Protect Password:="hi", userinterfaceonly:=True
.EnableOutlining = True
'.EnableAutoFilter = True
End With
End Sub

It needs to be reset each time you open the workbook. (excel doesn't remember
it after closing the workbook.)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

mkf wrote:

Can anyone help with this

I have created a file and grouped the data at 5 different levels for
viewing/reporting. Most of the cells in the worksheet contain formulas
so I would like to project the cells but when I protect the worksheet I
lose the ability to group and ungroup the data. Is there anyway I can
protect the cells/worksheet and still have the option of group/outline?

Many thanks

--
mkf
------------------------------------------------------------------------
mkf's Profile: http://www.excelforum.com/member.php...nfo&userid=601
View this thread: http://www.excelforum.com/showthread...hreadid=541921


--

Dave Peterson
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
Group & Outline and Recalculation BrianH Excel Discussion (Misc queries) 3 April 20th 06 10:19 AM
Outline / Group buttons Gizmo63 Excel Worksheet Functions 0 March 9th 06 12:51 PM
please help . access group and outline with protection on darren Excel Discussion (Misc queries) 1 March 4th 06 03:59 PM
Group and Outline Adjacent Columns Gizmo63 Excel Worksheet Functions 1 January 5th 06 03:17 PM
How do I hide the outline of a Forms Group Box? MadTodd Excel Discussion (Misc queries) 7 January 17th 05 06:45 PM


All times are GMT +1. The time now is 11:50 AM.

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

About Us

"It's about Microsoft Excel"