ResetColors Method

Microsoft Office Web Components Visual Basic

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