Filter Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Remarks
Use Filters(index
), where 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.
Properties
_Operator | |
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. Read-only Integer. |
Creator |
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. |
Criteria1 |
Returns the first filtered value for the specified column in a filtered range. |
Criteria2 |
Returns the second filtered value for the specified column in a filtered range. |
On |
True if the specified filter is on. |
Operator |
Returns the operator that associates the two criteria applied by the specified filter. |
Parent |
Returns the parent object for the specified object. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기