Reset Method

Microsoft Office Web Components Object Model

Reset Method

       

Resets the specified Heading object. Use this method to reset a specific row or column heading. Use the ResetHeadings method if you want to reset all row and column headings in a window to their default values.

expression.Reset

expression   Required. An expression that returns a Heading object.

Example

This example resets the caption of column D in the active window of Spreadsheet1 to its default value.

Spreadsheet1.ActiveWindow.ColumnHeadings(4).Reset