Name
pivottable
.AddFields([RowFields
], [ColumnFields
], [PageFields
], [AddToTable
])
Synopsis
Adds fields to the row, column, or page areas of a pivot table.
Argument |
Settings |
---|---|
|
The |
|
The |
|
The |
|
True appends the fields to any existing fields in the table; False replaces any existing fields in the table with the new ones. |
To add multiple fields to an area, use an array of PivotField
objects for the RowFields
, ColumnFields
, or PageFields
arguments.
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.