Determines whether custom row and column headings, if they exist, are to be displayed in the specified window. The default value it True. Read/write Boolean.
expression.DisplayCustomHeadings
expression Required. An expression that returns a Window object.
Although setting this property to False hides custom row and column headings, they are not reset them to their default values. Use this property instead of using the ResetHeadings method to temporarily hide the custom row and column headings.
This example prevents the display of the custom row and column headings in the active window of Spreadsheet1.
Spreadsheet1.ActiveWindow.DisplayCustomHeadings = False