ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Group Controls (https://www.excelbanter.com/excel-programming/288442-group-controls.html)

Jack D[_2_]

Group Controls
 
Hi...

An easy one for someone...

In a protected sheet how can I enable grouping controls
and auto filters simoultaneously...

Thanks in advance...

JD

Dave Peterson[_3_]

Group Controls
 
sub Auto_Open()

with worksheets("sheet1")
.activate
.EnableAutoFilter = True
.EnableOutlining = True
.Protect UserInterfaceOnly:=True
end with

End Sub

I think Tom Ogilvy has posted some notes about protection failing and one fix
was to active the worksheet first.

But excel doesn't remember this after you close the workbook. It has to be
rerun when you open the workbook. So you can use auto_open or workbook_open


Jack D wrote:

Hi...

An easy one for someone...

In a protected sheet how can I enable grouping controls
and auto filters simoultaneously...

Thanks in advance...

JD


--

Dave Peterson



All times are GMT +1. The time now is 03:44 PM.

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