DisplayCustomHeadings Property
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.
Remarks
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.
Example
This example prevents the display of the custom row and column headings in the active window of Spreadsheet1.
Spreadsheet1.ActiveWindow.DisplayCustomHeadings = False
Applies to | Window Object
See Also | ResetHeadings Method