Returns an object that represents either a single visible PivotTable item (a PivotItem object, Syntax 1) or a collection of all the visible items (a PivotItems object, Syntax 2) in the specified field. Read-only.
Syntax 1
expression.VisibleItems(Index)
Syntax 2
expression.VisibleItems
expression Required. An expression that returns a PivotField object.
Index Optional Variant. The number or name of the item to be returned (can be an array to specify more than one item).
Remarks
For OLAP data sources, this property is read-only and always returns True. There are no hidden items.