Hi,
I am copying style from a reference formatted cell on worksheet to destination cell. The reference formatted cell has a custom number format applied to it "#,##0_ ;[Red]-#,##0 ". This is just to facilitate value to turn red when user enters a negative value in the cell.
Problem is, when doing it at run time, if negative value is coming from database and populated in the destination cell (with style copied from reference cell) the value is not turning red but when I change the value to some other negative value it turns red.
I checked the format applied to the destination cell and see that format is copied properly. Am I missing some thing here?
Please find attached code for your reference. We are using licence version of Aspose.Cells 4.9.0.1
Regards, Vinay