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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.