共用方式為


PivotTable.EnableDrilldown Property (Excel)

True if drilldown is enabled. The default value is True. Read/write Boolean.

Syntax

expression .EnableDrilldown

expression A variable that represents a PivotTable object.

Remarks

Setting this property for a PivotTable report sets it for all fields in that report.

For OLAP data sources, the value is always True.

Example

This example disables drilldown for all fields in the first PivotTable report on worksheet one/.

Worksheets(1).PivotTables("Pivot1").EnableDrilldown = False

請參閱

概念

PivotTable Object

PivotTable Object Members