Share via


PivotField.DrilledDown Property

Excel Developer Reference

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 PivotField 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.

Visual Basic for Applications
  ActiveSheet.PivotTables("PivotTable3") _
    .PivotFields("state").DrilledDown = False

See Also