A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You need VBA for this, and the end user will need to allow macros for this to work.
Press Alt+F11 to activate the Visual Basic Editor.
Double-click ThisWorkbook, under Microsoft Excel Objects in the project explorer on the left hand side.
Copy the following code into the module that appears:
Private Sub Workbook_Open()
With Worksheets("Emp Summary")
.EnableOutlining = True
.Protect UserInterfaceOnly:=True
End With
End Sub
This code will be executed automatically each time the workbook is opened.