Window.DisplayHeadings (Excel)
True if both row and column headings are displayed; False if no headings are displayed.
This property applies only to worksheets and macro sheets. This property affects only displayed headings. Use the PrintHeadings property to control the printing of headings.
ActiveWindow.DisplayHeadings = True