Worksheet.EnableOutlining property (Excel)
True if outlining symbols are enabled when user-interface-only protection is turned on. Read/write Boolean.
expression.EnableOutlining
expression A variable that represents a Worksheet object.
This example enables outlining symbols on a protected worksheet.
ActiveSheet.EnableOutlining = True
ActiveSheet.Protect contents:=True, userInterfaceOnly:=True
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.