...
Code Block | ||||
---|---|---|---|---|
| ||||
ExcelApplication xla = new ExcelApplication(); Workbook wb = xla.Create(); GlobalStyle stylCurrency = wb.CreateStyle(); NumberFormat numFormat = wb.NumberFormat; String acctFormat = numFormat.CreateAccounting(2, true, NumberFormat.Color.Red); stylCurrency.NumberFormat = acctFormat; Area ar = wb.Worksheets[0].CreateArea("B7:H24"); ar.ApplyStyle(stylCurrency); |
Scrollbar |
---|