Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Holt88
 
Posts: n/a
Default Group/Ungroup with sheet protected

I have a sheet where I expand and collapse using the group/ungroup buttons on
the left of the sheet(+/-). However, when the sheet is protected, this
functionality is not allowed. Is it possible to have a protected sheet but
still use the Group/Ungroup functionality? Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Doug Kanter
 
Posts: n/a
Default Group/Ungroup with sheet protected


"Holt88" wrote in message
...
I have a sheet where I expand and collapse using the group/ungroup buttons
on
the left of the sheet(+/-). However, when the sheet is protected, this
functionality is not allowed. Is it possible to have a protected sheet but
still use the Group/Ungroup functionality? Thanks in advance.


Is it protected to keep others from screwing it up, but you want it
UNprotected when YOU use it? If so, create a small macro for turning
protection off & on, and connect it to a couple of custom buttons on your
tool bar.


  #3   Report Post  
Posted to microsoft.public.excel.misc
Holt88
 
Posts: n/a
Default Group/Ungroup with sheet protected

I want it protected when others are in the so they don't screw cell content,
but still want users to have the Group/Ungroup functionality. I could create
a few buttons to hide/unhide rows but my users liked the +/- option.

"Doug Kanter" wrote:


"Holt88" wrote in message
...
I have a sheet where I expand and collapse using the group/ungroup buttons
on
the left of the sheet(+/-). However, when the sheet is protected, this
functionality is not allowed. Is it possible to have a protected sheet but
still use the Group/Ungroup functionality? Thanks in advance.


Is it protected to keep others from screwing it up, but you want it
UNprotected when YOU use it? If so, create a small macro for turning
protection off & on, and connect it to a couple of custom buttons on your
tool bar.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Group/Ungroup with sheet protected

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

Holt88 wrote:

I want it protected when others are in the so they don't screw cell content,
but still want users to have the Group/Ungroup functionality. I could create
a few buttons to hide/unhide rows but my users liked the +/- option.

"Doug Kanter" wrote:


"Holt88" wrote in message
...
I have a sheet where I expand and collapse using the group/ungroup buttons
on
the left of the sheet(+/-). However, when the sheet is protected, this
functionality is not allowed. Is it possible to have a protected sheet but
still use the Group/Ungroup functionality? Thanks in advance.


Is it protected to keep others from screwing it up, but you want it
UNprotected when YOU use it? If so, create a small macro for turning
protection off & on, and connect it to a couple of custom buttons on your
tool bar.




--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Doug Kanter
 
Posts: n/a
Default Group/Ungroup with sheet protected

Sounds like something that could be done with VB, but it's outside my limit
of knowledge.


"Holt88" wrote in message
...
I want it protected when others are in the so they don't screw cell
content,
but still want users to have the Group/Ungroup functionality. I could
create
a few buttons to hide/unhide rows but my users liked the +/- option.

"Doug Kanter" wrote:


"Holt88" wrote in message
...
I have a sheet where I expand and collapse using the group/ungroup
buttons
on
the left of the sheet(+/-). However, when the sheet is protected, this
functionality is not allowed. Is it possible to have a protected sheet
but
still use the Group/Ungroup functionality? Thanks in advance.


Is it protected to keep others from screwing it up, but you want it
UNprotected when YOU use it? If so, create a small macro for turning
protection off & on, and connect it to a couple of custom buttons on your
tool bar.





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
Apply Validation on a protected sheet Frederick Chow Excel Discussion (Misc queries) 0 January 3rd 06 05:56 PM
AutoFilter 2003 Excel Protected Sheet bdehning Excel Discussion (Misc queries) 3 December 27th 05 11:51 PM
Protected Sheet Message tlosgyl3 Excel Discussion (Misc queries) 2 December 8th 05 08:13 AM
Applying autofilter to protected sheet Brian Ferris Excel Discussion (Misc queries) 2 November 18th 05 04:28 PM
Copying multiple sheets from one book 2 another and undertake spec Pank Mehta Excel Discussion (Misc queries) 14 March 16th 05 04:41 PM


All times are GMT +1. The time now is 05:39 PM.

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"