Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 914 Bytes

Excel.PageSetup.PrintHeadings.md

File metadata and controls

42 lines (24 loc) · 914 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
PageSetup.PrintHeadings property (Excel)
vbaxl10.chm473094
vbaxl10.chm473094
Excel.PageSetup.PrintHeadings
027441c6-da40-f518-a166-adb54da02a27
05/03/2019
medium

PageSetup.PrintHeadings property (Excel)

True if row and column headings are printed with this page. Applies only to worksheets. Read/write Boolean.

Syntax

expression.PrintHeadings

expression A variable that represents a PageSetup object.

Remarks

The DisplayHeadings property of the Window object controls the on-screen display of headings.

Example

This example turns off the printing of headings for Sheet1.

Worksheets("Sheet1").PageSetup.PrintHeadings = False

[!includeSupport and feedback]