DisplayHeadings Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

True if both row and column headings are displayed; False if there are no headings displayed, or if either the column or row headings are not displayed. Read/write Boolean.

expression.DisplayHeadings

expression   Required. An expression that returns a Window object.

Remarks

You can use the DisplayColumnHeadings and DisplayRowHeadings properties to independently control the display of column and row headings.

Example

This example hides the row and column headings in the active window of Spreadsheet1.

Spreadsheet1.ActiveWindow.DisplayHeadings = False