PrintHeadings Property

Microsoft Excel Visual Basic

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

Remarks

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

Example

This example turns off the printing of headings for Sheet1.

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