Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 906 Bytes

Excel.Filter.Criteria1.md

File metadata and controls

43 lines (28 loc) · 906 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Filter.Criteria1 property (Excel)
vbaxl10.chm542074
vbaxl10.chm542074
Excel.Filter.Criteria1
c1414fe3-92fd-e5cd-c60b-64e00cdf4973
04/26/2019
medium

Filter.Criteria1 property (Excel)

Returns the first filtered value for the specified column in a filtered range. Read-only Variant.

Syntax

expression.Criteria1

expression A variable that represents a Filter 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

[!includeSupport and feedback]