iainmartin100
New Member
- Joined
- Mar 9, 2011
- Messages
- 43
Hi,
I'm running the below code which protects all worksheets in a document, I want to allow the user to be able to click and use the grouping buttons also [+/-], what am I doing wrong in the below.
Application.ScreenUpdating = False
For Each wSheet In Worksheets
wSheet.Protect Password:="Safe", UserInterfaceOnly:=True
.EnableOutlining = True
Next wSheet
Application.ScreenUpdating = True
Many thanks for looking & hopefully solving
I'm running the below code which protects all worksheets in a document, I want to allow the user to be able to click and use the grouping buttons also [+/-], what am I doing wrong in the below.
Application.ScreenUpdating = False
For Each wSheet In Worksheets
wSheet.Protect Password:="Safe", UserInterfaceOnly:=True
.EnableOutlining = True
Next wSheet
Application.ScreenUpdating = True
Many thanks for looking & hopefully solving