Workbook.ResetColors method (Excel)

Resets the color palette to the default colors.

Syntax

expression.ResetColors

expression A variable that represents a Workbook object.

Example

This example resets the color palette in the active workbook.

ActiveWorkbook.ResetColors

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.