Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grouping on a protect sheet

Status
Not open for further replies.

cgreen3

Technical User
Dec 2, 2009
4
CA
Allright I have searched and tried to get this too work in my worksheet

Sub auto_open()
With Worksheets("sheet1")
.Protect Password:="xlhelp", userinterfaceonly:=True
.EnableOutlining = True
End With
End Sub

Im trying to have my grouping expand on my protected sheet and it will not work for me. If I could have some help on this I would really appreciate it.
 


Hi,

Please post VBA code questions in forum707.

The short answer is in your code...
[tt]
Unprotect the sheet
Do your sheet modifications
Protect the sheet
[/tt]



Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top