Question : Group and ungroup a password-protected sheet?

I have an Excel 2007 sheet that needs to be password protected, but I want the users to be allowed to click the [+] and [-] grouping buttons while the password is in effect. Is there any way to do this? Thanks!!

Answer : Group and ungroup a password-protected sheet?

Change to this:


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
Private Sub Workbook_Open()

    With Sheet1

       .Protect Password:="Secret", AllowFormattingCells:=True, UserInterfaceOnly:=True

       .EnableOutlining = True
       

    End With

End Sub
Random Solutions  
 
programming4us programming4us