PageSetup.PrintHeadings Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .PrintHeadings

expression A variable that represents a PageSetup object.

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

This example turns off the printing of headings for Sheet1.

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