PrintHeadings Property Example

This example turns off the printing of headings for Sheet1.

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