ResetHeadings Method

Microsoft Office Web Components Visual Basic

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