DisplayHeadings Property Example
This example turns off the display of row and column headings in the active window in Book1.xls.
Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate ActiveWindow.DisplayHeadings = False