Styles Members

Include Protected Members
Include Inherited Members

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

The Styles type exposes the following members.

Properties

  Name Description
Public property _Default Reserved for internal use.
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Count Returns the number of objects in the collection.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Item Returns a single object from a collection.
Public property Parent Returns the parent object for the specified object.

Top

Methods

  Name Description
Public method Add Creates a new style and adds it to the list of styles that are available for the current workbook.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Merge Merges the styles from another workbook into the Styles collection.

Top

See Also

Reference

Styles Interface

Microsoft.Office.Interop.Excel Namespace