Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Andy Bowshell
 
Posts: n/a
Default How can I use open/close Grouped cells in a Protected Worksheet?


Can anyone help me please - When I include Grouped cells in a Worksheet
by using "Data" / "Group and Outline", excell will not allow opening or
closing of the Grouped cells when the Worksheet is protected. Is there
an easy way I can open/close Grouped cells in a Protected Worksheet?


--
Andy Bowshell
------------------------------------------------------------------------
Andy Bowshell's Profile: http://www.excelforum.com/member.php...o&userid=30469
View this thread: http://www.excelforum.com/showthread...hreadid=501330

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How can I use open/close Grouped cells in a Protected Worksheet?

If you already have the outline/subtotals 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

Andy Bowshell wrote:

Can anyone help me please - When I include Grouped cells in a Worksheet
by using "Data" / "Group and Outline", excell will not allow opening or
closing of the Grouped cells when the Worksheet is protected. Is there
an easy way I can open/close Grouped cells in a Protected Worksheet?

--
Andy Bowshell
------------------------------------------------------------------------
Andy Bowshell's Profile: http://www.excelforum.com/member.php...o&userid=30469
View this thread: http://www.excelforum.com/showthread...hreadid=501330


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Andy Bowshell
 
Posts: n/a
Default How can I use open/close Grouped cells in a Protected Worksheet?


Thanks Dave - I'll try what you say and Yes I'm not too well up on
Macros so I'll look at the reference you've suggested.

Thanks Again


--
Andy Bowshell
------------------------------------------------------------------------
Andy Bowshell's Profile: http://www.excelforum.com/member.php...o&userid=30469
View this thread: http://www.excelforum.com/showthread...hreadid=501330

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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Find & Replace within Unlocked Cells in a Protected Worksheet DaveyC4S Excel Discussion (Misc queries) 2 October 9th 05 11:12 AM
Can specific cells on a worksheet be hidden & password protected? Ann Excel Worksheet Functions 6 July 5th 05 09:08 PM
move between unlocked cells on protected sheet ayanna Excel Discussion (Misc queries) 1 April 27th 05 05:59 PM
Viewing protected cells AC_VID Excel Discussion (Misc queries) 1 April 10th 05 01:21 AM


All times are GMT +1. The time now is 10:22 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"