Share via


ResetHeadings Method

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.

Resets the row and columns headings of the specified window to their default values. Use the Reset method instead if you want to reset specific row and column headings.

expression.ResetHeadings

expression   Required. An expression that returns a Window object.

Example

The following example resets the row and column headings of the active window in Spreadsheet1 to their default values.

  Spreadsheet1.ActiveWindow.ResetHeadings