Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

StyleCollection.Add Method

Name Parameters Description
Add(String, Range) name, range Creates a new style based on format settings of the specified cell range.
Add(String) name Creates a new style with the specified name and appends it to the style collection.