Worksheet.EnableOutlining Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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