PageSetup.PrintHeadings Property

Excel Developer Reference

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 controls the on-screen display of headings.

Example

This example turns off the printing of headings for Sheet1.

Visual Basic for Applications
  Worksheets("Sheet1").PageSetup.PrintHeadings = False

See Also