| ET 开发人员参考 |
| PivotCell.CustomSubtotalFunction 属性 |
语法
表达式.CustomSubtotalFunction
表达式 一个代表 PivotCell 对象的变量。
说明
| XlConsolidationFunction 可为以下 XlConsolidationFunction 常量之一。 |
| xlAverage |
| xlCount |
| xlCountNums |
| xlMax |
| xlMin |
| xlProduct |
| xlStDev |
| xlStDevP |
| xlSum |
| xlUnknown |
| xlVar |
| xlVarP |
如果 PivotCell 对象类型不是自定义分类汇总,那么 CustomSubtotalFunction 属性将返回一个错误。该属性只应用于非 OLAP 源数据(非 OLAP 源数据:非 OLAP 源数据是数据透视表或数据透视图使用的基本数据,该数据来自 OLAP 数据库之外的源。这些数据源包括关系数据库、 ET 工作表中的清单以及文本文件数据库。)。