Name
workbook
.PivotTableWizard([SourceType
], [SourceData
], [TableDestination
], [TableName
], [RowGrand
], [ColumnGrand
], [SaveData
], [HasAutoFormat
], [AutoPage
], [Reserved
], [BackgroundQuery
], [OptimizeCache
], [PageFieldOrder
], [PageFieldWrapCount
], [ReadData
], [Connection
])
Synopsis
Creates a pivot table in the workbook.
Argument |
Settings |
---|---|
|
One of these settings: |
|
Any of a number of possible sources, such as a |
|
A |
|
A name for the pivot table. |
|
True displays grand totals for rows; False does not. |
|
True displays grand totals for columns; False does not. |
|
True saves the data with the pivot table; False saves only the pivot table definition. |
|
True applies automatic formatting to the pivot table; False does not. |
|
If |
|
Not used. |
|
True performs the query asynchronously in the background; False performs the query synchronously. |
|
True optimizes the pivot cache; False does not (default). |
|
One of these settings: |
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.