Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Excel 2007
PivotTable Object
Methods
 ShowPages Method

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
PivotTable.ShowPages Method
Creates a new PivotTable report for each item in the page field. Each new report is created on a new worksheet.

Syntax

expression.ShowPages(PageField)

expression   A variable that represents a PivotTable object.

Parameters

NameRequired/OptionalData TypeDescription
PageFieldOptionalVariantA string that names a single page field in the report.

Return Value
Variant

Remarks

This method isn’t available for OLAP data sources.

Example

This example creates a new PivotTable report for each item in the page field, which is the field named “Country.”

Visual Basic for Applications
Set pvtTable = Worksheets("Sheet1").Range("A3").PivotTable
pvtTable.ShowPages "Country"



Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker