DrilledDown Property

Microsoft Excel Visual Basic

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

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