ResetColors 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 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