다음을 통해 공유


AutoFilter.Filters Property (Excel)

Returns a Filters collection that represents all the filters in an autofiltered range. Read-only.

Syntax

.Filters

A variable that represents an AutoFilter object.

Example

The following example sets a variable to the value of the Criteria1 property of the filter for the first column in the filtered range on the Crew worksheet.

With Worksheets("Crew") 
 If .AutoFilterMode Then 
 With .AutoFilter.Filters(1) 
 If .On Then c1 = .Criteria1 
 End With 
 End If 
End With

참고 항목

개념

AutoFilter Object

AutoFilter Object Members