PivotTable.PivotValueCell(Object, Object) 方法

定义

PivotValueCell检索给定数据透视表的对象,该数据透视表提供了特定的行索引和列索引。

public Microsoft.Office.Interop.Excel.PivotValueCell PivotValueCell (object rowline, object columnline);
Public Function PivotValueCell (Optional rowline As Object, Optional columnline As Object) As PivotValueCell

参数

rowline
Object

如果类型为 PivotLine,则指定 PivotValueCell 与其对齐的行区域中的数据透视线。 如果类型为 Int,则指定 数据透视线PivotValueCell 与其对齐的行区域上的位置。 如果缺少,则为 Empty、Null 或 0 指定总计行。

columnline
Object

如果类型为 PivotLine,则指定 PivotValueCell 与其对齐的列区域中的数据透视线。 如果类型为 Int,则指定 数据透视线PivotValueCell 与其对齐的列区域上的位置。 如果缺少、空、Null 或 0,则指定总计列。

返回

适用于