EnableAutoFilter Property Example

This example disables the Auto Filter for the active worksheet.

Spreadsheet1.ActiveSheet.EnableAutoFilter = False
Spreadsheet1.ActiveSheet.Protection.Enabled = True