DisplayCustomHeadings Property

Microsoft Office Web Components Visual Basic

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