共用方式為


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

請參閱

概念

Workbook Object

Workbook Object Members