CurrentPage Property

CurrentPage Property

         Example         Applies To

Returns or sets the current page showing for the page field (valid only for page fields). Read/write PivotItem.

Remarks

For OLAP data sources, this property returns or sets a string that contains the unique page name (as specified by the SourceName property). If the CurrentPage property is set to a name that doesn’t exist, the name of the item that’s the current page is set to the new name.