다음을 통해 공유


ListObject.ShowAutoFilter Property (Excel)

Returns Boolean to indicate whether the AutoFilter will be displayed. Read/write Boolean.

Syntax

.ShowAutoFilter

A variable that represents a ListObject object.

Remarks

ShowAutoFilter property defaults to True for a new ListObject object.

Example

The following example displays the setting of the ShowAutoFilter property the default list in Sheet 1 of the active workbook.

 
 Dim wrksht As Worksheet 
 Dim oListCol As ListColumn 
 
 Set wrksht = ActiveWorkbook.Worksheets("Sheet1") 
 Set oListCol = wrksht.ListObjects(1) 
 
 Debug.Print oListCol.ShowAutoFilter

참고 항목

개념

ListObject Object

ListObject Object Members