Styles Property

Applies To

Workbook object.

Description

Returns a Styles collection that represents all the styles in the specified workbook. Read-only.

Example

This example deletes the user-defined style "Stock Quote Style" from the active workbook.

ActiveWorkbook.Styles("Stock Quote Style").Delete