DisplayCustomHeadings 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.

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