Bewerken

Delen via


PivotTable.RepeatItemsOnEachPrintedPage property (Excel)

True if row, column, and item labels appear on the first row of each page when the specified PivotTable report is printed. False if labels are printed only on the first page. The default value is True. Read/write Boolean.

Syntax

expression.RepeatItemsOnEachPrintedPage

expression A variable that represents a PivotTable object.

Remarks

Microsoft Excel prints row and column labels in place of any print titles set for the worksheet. Use the PrintTitles property to determine whether print titles are set for the PivotTable report.

Example

This example sets Microsoft Excel to repeat the labels on each page when the fourth PivotTable report on the active worksheet is printed.

ActiveSheet.PivotTables("PivotTable4") _ 
 .RepeatItemsOnEachPrintedPage = True

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.