Share via


Workbook.Styles Property (Excel)

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

Syntax

expression .Styles

expression A variable that represents a Workbook object.

Example

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

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

See Also

Concepts

Workbook Object

Workbook Object Members