Редагувати

Поділитися через


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

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.