Share via


Styles Members (Excel)

A collection of all the Style objects in the specified or active workbook.

Methods

Name

Description

Add

Creates a new style and adds it to the list of styles that are available for the current workbook.

Merge

Merges the styles from another workbook into the Styles collection.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Count

Returns a Long value that represents the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

Item

Returns a single object from a collection.

Parent

Returns the parent object for the specified object. Read-only.