Partager via


PivotField.CurrentPageList Property

Returns or sets an array of strings corresponding to the list of items included in a multiple-item page field of a PivotTable report. Read/write Object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property CurrentPageList As Object
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As Object

value = instance.CurrentPageList

instance.CurrentPageList = value
Object CurrentPageList { get; set; }

Property Value

Type: System.Object

Remarks

To avoid run-time errors, the data source must be an OLAP source, the field chosen must currently be in the Page position, and the EnableMultiplePageItems property must be set to True.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace