Partager via


PivotTable.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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property RepeatItemsOnEachPrintedPage As Boolean
    Get
    Set
'Usage
Dim instance As PivotTable
Dim value As Boolean

value = instance.RepeatItemsOnEachPrintedPage

instance.RepeatItemsOnEachPrintedPage = value
bool RepeatItemsOnEachPrintedPage { get; set; }

Property Value

Type: System.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.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace