I am working on excel report generation using Aspose, my users are across various countries and they should see the report in their culture. I am using aspose.net to generate the excel report, for Polish and Czech Republic culture they use ',' instead if '.' to represent decimal values. I need to highlight the negative values by showing background as grey and font color in red. Only for these culture it doesn't apply red font.
dataCell[exportUtil.constants.cell.numberFormat] = "#,##0,00;[Red]#,##0,00";
dataCell[exportUtil.constants.cell.cellType] = "number";
dataCell[exportUtil.constants.cell.colorBackground] = 14474460;
dataCell[exportUtil.constants.cell.fontColor] = 255;
Below are the default custom excel format.
Any help on this will be highly appreciated.
See the following sample code for your reference. You may refer to the code segment and then write/update your own code accordingly for your needs.
e.g.,
Sample code:
You may also post your queries or discuss further in the dedicated forum.
PS. I am working as Support developer/ Evangelist at Aspose.