I'm using a third party API for the creation of Excel Spreadsheets from VB.NET.
I can set number formats like this:
But I have no clue what the Excel Format Strings are and haven't found a good list. trying to format cells so that negative numbers look like:
(1,200.00)
Anybody happen to know that one off hand? Thanks!
I can set number formats like this:
Code:
Sub CellStyle(ByVal ws As ExcelWorksheet)
ws.Cells(row, 1).Value = ".Style.NumberFormat"
ws.Cells(row, 2).Value = 1234
ws.Cells(row, 2).Style.NumberFormat = "#.##0,00"
End Sub
(1,200.00)
Anybody happen to know that one off hand? Thanks!