Expand Minimize
This topic has not yet been rated - Rate this topic

PivotTable.PrintTitles Property 

True if the print titles for the worksheet are set based on the PivotTable report. False if the print titles for the worksheet are used. The default value is False. Read/write Boolean.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim pivotTable1 As PivotTable

Dim returnValue As Boolean
returnValue = pivotTable1.PrintTitles

Dim sampleValue As Boolean
pivotTable1.PrintTitles = sampleValue

bool PrintTitles {get; set;}
public boolean get_PrintTitles();
public void set_PrintTitles(boolean);
function get PrintTitles() : Boolean;
function set PrintTitles(Boolean);

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.

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.