共用方式為


Worksheet.EnableOutlining Property (Excel)

True if outlining symbols are enabled when user-interface-only protection is turned on. Read/write Boolean.

Syntax

expression .EnableOutlining

expression A variable that represents a Worksheet object.

Remarks

This example enables outlining symbols on a protected worksheet.

Example

ActiveSheet.EnableOutlining = True 
ActiveSheet.Protect contents:=True, userInterfaceOnly:=True

請參閱

概念

Worksheet Object

Worksheet Object Members