次の方法で共有


PivotField.AllItemsVisible Property (Excel)

Used to retrieve a Boolean value that indicates whether or not any manual filtering is applied to the PivotField. Read-only.

Version Information

Version Added: Excel 2007

Syntax

expression .AllItemsVisible

expression A variable that represents a PivotField object.

Remarks

This property provides a simple way to easily check whether manual filtering is applied to a PivotField or CubeField.

For OLAP PivotTables, this property is available only for the CubeField object. Trying to get or set it on the PivotField object in OLAP PivotTables will return a run-time error.

For PivotTables, this property is available for the PivotField object.

The default value is True. This property is automatically set to True when no manual filtering is applied (independent of whether the IncludeNewItemsInFilter property is True or False). It is automatically set to False when any manual filtering is applied (independent of whether the IncludeNewItemsInFilter property is True or False).

This property directly reflects the state of the Select All check box in the filter drop-down lislt for the PivotField or CubeField.

See Also

Concepts

PivotField Object

PivotField Object Members