Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

excel which style property define background color in c#

worksheet.Cells["A32:D32"].Style.Fill.PatternType = ExcelFillStyle.Solid;
worksheet.Cells["A32:D33"].Style.Fill.BackgroundColor.SetColor(Color.CornflowerBlue);
 
PREVIOUS NEXT
Tagged: #excel #style #property #define #background #color
ADD COMMENT
Topic
Name
7+6 =