共用方式為


PivotTable.InnerDetail Property (Excel)

Returns or sets the name of the field that will be shown as detail when the ShowDetail property is True for the innermost row or column field. Read/write String.

Syntax

expression .InnerDetail

expression A variable that represents a PivotTable object.

Remarks

This property isn’t available for OLAP data sources.

Example

This example displays the name of the field that will be shown as detail when the ShowDetail property is True for the innermost row field or column field.

Set pvtTable = Worksheets("Sheet1").Range("A3").PivotTable 
MsgBox pvtTable.InnerDetail

請參閱

概念

PivotTable Object

PivotTable Object Members