Hi
I have an excel template(attached) with C6:N6 as Custom Date Format set to mmm-yy.
Using Aspose.cells, populating the value in those cells as below.
for (Int32 inc = 0; inc < 12; inc++) {
Range range0 = cells.CreateRange(collbl2[inc] + (initoff - 1));
range0.Value = (inc + 1) + “/1/” + DateTime.Now.Year;
}
After generating the excel, if i open and see the columns, they are showing as 01/01/2022, 02/01/2022…Formatting didnt apply. If i just double click the column, then the formatting applies automatically.
Could you please let us know how to fix this.
Thanks
Siva PoreddyEISAppRec.zip (19.6 KB)