Syntax

expression.PageFieldStyle

expression A variable that represents a PivotTable object.

Remarks

This style is used as the default style for the background area, and it's applied before any user formatting. Cells vacated when a field is pivoted from the page field area to another location retain this style.

Example

This example sets the page field area of the first PivotTable report on worksheet one to the PurpleAndGold style.

Visual Basic for Applications
Worksheets(1).PivotTables("Pivot1") _ .PageFieldStyle = "PurpleAndGold"
page page field style Page Field Style Property pagefield pagefieldstyle PageFieldStyle Property set style pivot table page field area set style used bound page field area

See also: