PivotFilters.Add2 Method
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.
Adds new filters to the PivotFilters collection.
public Microsoft.Office.Interop.Excel.PivotFilter Add2 (Microsoft.Office.Interop.Excel.XlPivotFilterType Type, object DataField, object Value1, object Value2, object Order, object Name, object Description, object MemberPropertyField, object WholeDayFilter);
Public Function Add2 (Type As XlPivotFilterType, Optional DataField As Object, Optional Value1 As Object, Optional Value2 As Object, Optional Order As Object, Optional Name As Object, Optional Description As Object, Optional MemberPropertyField As Object, Optional WholeDayFilter As Object) As PivotFilter
Parameters
- Type
- XlPivotFilterType
Requires an XlPivotFilterType type of filter.
- DataField
- Object
The field to which the filter is attached.
- Value1
- Object
Filter value 1.
- Value2
- Object
Filter value 2.
- Order
- Object
Order in which the data should be filtered.
- Name
- Object
Name of the filter.
- Description
- Object
A brief description of the filter.
- MemberPropertyField
- Object
Specifies the member property field on which the label filter is based.
- WholeDayFilter
- Object
Specifies a filter based on days.
Returns
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기