April 2006
Beginner
1114 pages
98h 16m
English
pivottable.PrintTitles [= setting]
True uses print titles from the pivot table; False uses print titles from the worksheet. Default is False. The following code demonstrates the effect of PrintTitles by using print preview:
Sub PivotPrintPreview( )
Dim pt As PivotTable
' Run CreatePivotTable to create this pivot table.
Set pt = ActiveSheet.PivotTables(1)
' Change property settings.
pt.PrintTitles = True
pt.RepeatItemsOnEachPrintedPage = True
' Print preview
pt.Parent.PrintOut , , , True
End SubRead now
Unlock full access