I have a protected sheet with filtering which will not allow filtering upon opening. I have the following code in ThisWorkbook... The EnableOutlining is working, but not the filtering. Any suggestions?
VBA Code:
Private Sub Workbook_Open()
With Worksheets("Design")
.Protect Password:="Password", Userinterfaceonly:=True
.EnableAutoFilter = True
.EnableOutlining = True
End With
With Worksheets("Bids")
.Protect Password:="Password", Userinterfaceonly:=True
.EnableOutlining = True
.EnableAutoFilter = True
End With
With Worksheets("% Complete Summary")
.Protect Password:="Password", Userinterfaceonly:=True
.EnableOutlining = True
.EnableAutoFilter = True
End With
With Worksheets("Purchase Orders")
.Protect Password:="Password", Userinterfaceonly:=True
.EnableOutlining = True
.EnableAutoFilter = True
End With
End Sub