Partager via


Filter.Criteria2 Property

Returns the second filtered value for the specified column in a filtered range.

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

Syntax

'Declaration
ReadOnly Property Criteria2 As Object
    Get
'Usage
Dim instance As Filter
Dim value As Object

value = instance.Criteria2
Object Criteria2 { get; }

Property Value

Type: System.Object

Remarks

If you try to access the Criteria2 property for a filter that does not use two criteria, an error will occur. Check that the Operator property of a Filter object doesn’t equal zero (0) before trying to access the Criteria2 property.

See Also

Reference

Filter Interface

Filter Members

Microsoft.Office.Interop.Excel Namespace