次の方法で共有


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

ActiveSheet.PivotTables("PivotTable3") _ 
 .PivotFields("state").DrilledDown = False

See Also

Concepts

PivotField Object Members

PivotField Object