_Worksheet.AutoFilterMode Property

True if the AutoFilter drop-down arrows are currently displayed on the sheet. This property is independent of the FilterMode property. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property AutoFilterMode As Boolean
    Get
    Set
'Usage
Dim instance As _Worksheet
Dim value As Boolean

value = instance.AutoFilterMode

instance.AutoFilterMode = value
bool AutoFilterMode { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if the drop-down arrows are currently displayed. You can set this property to False to remove the arrows, but you cannot set it to True. Use the AutoFilter method to filter a list and display the drop-down arrows.

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace