Export (0) Print
Expand All
E
EndArrowheadStyle Property
EndArrowheadWidth Property
EndConnected Property
EndConnectedShape Property
EndConnectionSite Property
EndStyle Property
EntireColumn Property
EntireRow Property
EnvelopeVisible Property
ErrorBars Property
ErrorCheckingOptions Property
ErrorMessage Property
Errors Property
ErrorString Property
ErrorTitle Property
EvaluateToError Property
Excel4IntlMacroSheets Property
Excel4MacroSheets Property
ExpandHelp Property
Explosion Property
ExtendList Property
Extent Property
ExtrusionColor Property
ExtrusionColorType Property
Expand Minimize

EnableMultiplePageItems Property [Excel 2003 VBA Language Reference]

Office 2003

True to allow multiple items in the page field area for OLAP PivotTables to be selected. The default value is False. Read/write Boolean.

expression.EnableMultiplePageItems

expression Required. An expression that returns a CubeField object.

Remarks

This property only applies to Online Analytical Processing (OLAP) PivotTables. Querying or setting a non-OLAP PivotTable will result in a run-time error.

Example

This example determines if multiple page items are enabled for the cube field and notifies the user. The example assumes that an OLAP PivotTable exists on the active worksheet.

Sub UseMultiplePageItems()

    Dim pvtTable As PivotTable
    Dim cbeField As CubeField

    Set pvtTable = ActiveSheet.PivotTables(1)
    Set cbeField = pvtTable.CubeFields("[Country]")

    ' Determine setting for mulitple page items.
    If cbeField.EnableMultiplePageItems = False Then
        MsgBox "Mulitple page items cannot be selected."
    Else
        MsgBox "Multiple page items can be selected."
    End If

End Sub
		


Applies to | CubeField Object


Show:
© 2014 Microsoft