PageSetup.PrintHeadings property (Excel)
True if row and column headings are printed with this page. Applies only to worksheets. Read/write Boolean.
expression A variable that represents a PageSetup object.
The DisplayHeadings property of the Window object controls the on-screen display of headings.
This example turns off the printing of headings for Sheet1.
Worksheets("Sheet1").PageSetup.PrintHeadings = False
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.