RepeatItemsOnEachPrintedPage Property

Microsoft Excel Visual Basic

RepeatItemsOnEachPrintedPage Property

       

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.

Remarks

The PivotTable report must be the only one in the print area. To set an indented format for a PivotTable report, use the Format method.

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