StyleCollection Methods
A collection of cell styles in the workbook.
Name | Description |
---|---|
Add |
Creates a new style based on format settings of the specified cell range. |
Add |
Creates a new style with the specified name and appends it to the style collection. |
Contains |
Obsolete. Indicates whether the collection contains the specified built-in style. |
Contains |
Indicates whether the collection contains the style under the specified name. |
Copy |
Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection. |
Get |
Returns an enumerator that iterates through the collection.
Inherited from IEnumerable |
Hide |
Marks the specified style as deleted, so it can no longer be applied to cells. |
Remove |
Obsolete. Marks the style with the specified name as deleted, so it can no longer be applied to cells. |
Unhide |
Restores the hidden style at its previous position in the collection. |
See Also