Skip to content

Files

Latest commit

 

History

History
37 lines (22 loc) · 759 Bytes

Excel.Workbook.Styles.md

File metadata and controls

37 lines (22 loc) · 759 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Workbook.Styles property (Excel)
vbaxl10.chm199154
vbaxl10.chm199154
Excel.Workbook.Styles
c9a70be9-cab5-ea5f-2e3f-949b1acf43d9
05/29/2019
medium

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

[!includeSupport and feedback]