Headings Object

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.

Window
Aa190582.parchild(en-us,office.10).gifHeadings
Aa190582.space(en-us,office.10).gifAa190582.parchild(en-us,office.10).gifHeading

A collection of the row and column headings for a Window object.

Using the Headings object

The following properties return a Headings collection.

The Window object's RowHeadings property.

The Window object's ColumnHeadings property.

The following example customizes the heading of column D in the active sheet in Spreadsheet1:

  Spreadsheet1.ActiveWindow.ColumnHeadings(4).Caption = "1999 Sales"