Syntax

expression.DisplayHeadings

expression A variable that represents a Window object.

Remarks

This property applies only to worksheets and macro sheets.

This property affects only displayed headings. Use the property to control the printing of headings.

Example

This example turns off the display of row and column headings in the active window in Book1.xls.

Visual Basic for Applications
Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate ActiveWindow.DisplayHeadings = False 

See also: