返回一个 PivotField 对象,该对象代表包含指定区域左上角的数据透视表字段。
expression.PivotField
expression 必需。该表达式返回“应用于”列表中的对象之一。
本示例显示包含活动单元格的数据透视表字段的名称。
Worksheets("Sheet1").Activate MsgBox "The active cell is in the field " & _ ActiveCell.PivotField.Name