Creates a named global style, which can be bound to cells, areas, ranges, rows, and columns. Any later changes to this style will affect all cells to which the style was assigned.
public NamedStyle CreateNamedStyle(System.String styleName)
Public Function CreateNamedStyle(ByVal styleName As String) As NamedStyle
The name of the new style.
A NamedStyle object which can be assigned to cells, and can be accessed and modified from the generated Excel spreadsheet.
Style definitions created by CreateNamedStyle are saved in the generated spreadsheet, and can be accessed and modified when the file is opened in Microsoft Excel. If a style with the same name already exists an exception will be thrown.