Skip to main content

Workbook.Styles property

Table of contents
  1. Syntax
  2. Example

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



expression A variable that represents a Workbook object.


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

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>