ResetHeadings Method

Microsoft Office Web Components Object Model

ResetHeadings Method

       

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