ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Grouping in protected sheets (https://www.excelbanter.com/excel-discussion-misc-queries/2858-grouping-protected-sheets.html)

Maia

Grouping in protected sheets
 
Hi,

I have a sheet where I need to protect some formulas so that people won't
mess them. However, when I do this Excel does not let me use the + (or -)
buttons to open the groupings.
Any suggestions how to handle this problem?

thanks in advance!!

Maya



Jim Rech

You have to set the worksheet's EnableOutlining property to true.
Unfortunately this is a setting that must be set every time you open the
workbook because it does not stick.

You can run this code in your workbook's startup macro to handle this.

With Worksheets("Sheet1")
.EnableOutlining = True
.Protect Password:="pass"
End With


--
Jim Rech
Excel MVP
"Maia" wrote in message
...
| Hi,
|
| I have a sheet where I need to protect some formulas so that people won't
| mess them. However, when I do this Excel does not let me use the + (or -)
| buttons to open the groupings.
| Any suggestions how to handle this problem?
|
| thanks in advance!!
|
| Maya
|
|




All times are GMT +1. The time now is 06:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com