PivotItem.DrilledDown property (Excel)

True if the flag for the specified PivotTable field or PivotTable item is set to "drilled" (expanded or visible). Read/write Boolean.

Syntax

expression.DrilledDown

expression A variable that represents a PivotItem object.

Remarks

You can use this property only for OLAP data sources.

You cannot set this property if the field or item is hidden.

Example

This example sets the flags to "not drilled" for all items in the state field in the third PivotTable report on the active worksheet.

ActiveSheet.PivotTables("PivotTable3") _ 
 .PivotFields("state").DrilledDown = 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.