DisplayHeadings Property

Applies To

Window Object.

Description

True if both row and column headings are displayed, False if no headings are displayed. Read-write.

Remarks

This property applies only to worksheets and macro sheets.

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

Example

This example turns off row and column headings in the active window in BOOK1.XLS.


Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate
ActiveWindow.DisplayHeadings = False