Syntax

expression.PrintTitles

expression A variable that represents a PivotTable object.

Remarks

The row print titles are set to the rows that contain the PivotTable report's column field items. The column print titles are set to the columns that contain the row items.

Example

This example specifies that the print title set for the worksheet is printed when the fourth PivotTable report on the active worksheet is printed.

Visual Basic for Applications
ActiveSheet.PivotTables("PivotTable4").PrintTitles = True
print print titles Print Titles Property PrintTitles PrintTitles Property

See also: