[]
Creates a new style and adds it to the list of styles that are available for the current workbook.
IStyle Add(string name, string duplicatedStyle = null)
Function Add(name As String, Optional duplicatedStyle As String = Nothing) As IStyle
| Type | Name | Description |
|---|---|---|
| string | name | The new style name. |
| string | duplicatedStyle | The duplicated style name. |
| Type | Description |
|---|---|
| IStyle | An IStyle object. |
Returns null if the name already exist.