ResetColors Method

Microsoft Excel Visual Basic

ResetColors Method

       

Resets the color palette to the default colors.

expression.ResetColors

expression   Required. An expression that returns a Workbook object.

Example

This example resets the color palette in the active workbook.

ActiveWorkbook.ResetColors