ResetColors Method

Microsoft Office Web Components Object Model

ResetColors Method

       

Resets the color palette of the specified workbook to the default colors.

expression.ResetColors

expression   Required. An expression that returns a Workbook object.

Example

The following example resets the color palette of the workbook that is open in Spreadsheet1 back to its default setting.

Spreadsheet1.ActiveWorkbook.ResetColors