Muokkaa

Jaa


Worksheet.EnableAutoFilter property (Excel)

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

Syntax

expression.EnableAutoFilter

expression A variable that represents a Worksheet object.

Example

This example enables the AutoFilter arrows on a protected worksheet.

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

Support and feedback

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.