編輯

共用方式為


PivotTable.PrintTitles Property

Definition

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.

public:
 property bool PrintTitles { bool get(); void set(bool value); };
public bool PrintTitles { get; set; }
Public Property PrintTitles As Boolean

Property Value

Remarks

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(XlPivotFormatType) method.

Applies to