Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Smokey Mike
 
Posts: n/a
Default Excel grouping & protection

1) When I protect a sheet, I can no longer use the grouping boxes
2) I would like to be able to keep users from moving the text boxes and
still protect the sheet.

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Does Grouping mean outlining (like from Data|Group or Data|subtotal)???

If yes:

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

Smokey Mike wrote:

1) When I protect a sheet, I can no longer use the grouping boxes
2) I would like to be able to keep users from moving the text boxes and
still protect the sheet.


--

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Excel on XP: Password Protection Rich Hayes Excel Discussion (Misc queries) 1 February 4th 05 10:47 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
protection on excel forms cben Excel Worksheet Functions 1 December 14th 04 02:23 PM
Protection in Excel via email kalz Excel Worksheet Functions 0 December 13th 04 12:47 AM


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