Represents a filter for a single column. The Filter object is a member of the Filters collection. The Filters collection contains all the filters in an autofiltered range.
public interface class Filter
[System.Runtime.InteropServices.Guid("00024434-0000-0000-C000-000000000046")] [System.Runtime.InteropServices.InterfaceType(2)] public interface Filter
Public Interface Filter
index is the filter title or index number, to return a single Filter object.
Note that all the properties of the Filter object are read-only. To set these properties, apply autofiltering manually or using the AutoFilter(Object, Object, XlAutoFilterOperator, Object, Object) method of the Range object.
Returns an Application object that represents the Microsoft Excel application.
Returns the number of objects in the collection. Read-only Integer.
Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C.
Returns the first filtered value for the specified column in a filtered range.
Returns the second filtered value for the specified column in a filtered range.
True if the specified filter is on.
Returns the operator that associates the two criteria applied by the specified filter.
Returns the parent object for the specified object.