Syntax

expression.VacatedStyle

expression A variable that represents a PivotTable object.

Example

This example sets the vacated cells in the PivotTable report to the BlackAndBlue style.

Visual Basic for Applications
Worksheets(1).PivotTables("Pivot1").VacatedStyle = "BlackAndBlue"
change style vacated cells pivot table return vacated style of pivot tables set style cells vacated pivot table refreshed vacated vacated style Vacated Style Property VacatedStyle vacatedstyle property

See also: