We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

File changes the format when exported using Telerik and then made changes using Aspose

hi,
We have 1 excel file that is exported using Telerik rad grid. We open this file using Aspose to make some other changes and then save it.
When we do this in Aspose, it changes all the text to Bold and Italics.

Code that we have written to just open and close the excel file using aspose.

        Aspose.Cells.Workbook oWorkbook = new Aspose.Cells.Workbook(filePath);
        Aspose.Cells.Worksheet oWorksheet = oWorkbook.Worksheets[0];
        
        oWorkbook.Save(filePath);

Thanks,
Hetal

MaaamsRequests_20170927052231.zip (4.7 KB)

@het_hs,

Thanks for the sample file

Probably this is your output file by Aspose.Cells APIs using your code segment:

Aspose.Cells.Workbook oWorkbook = new Aspose.Cells.Workbook(filePath);
        Aspose.Cells.Worksheet oWorksheet = oWorkbook.Worksheets[0];

        oWorkbook.Save(filePath);

We need your input file, so we could evaluate your issue on our end.

Attached zip file containing
File_Before
&
File_After

Files.zip (7.8 KB)
Thanks,
Hetal

@het_hs,

Thanks for the template file.

Please try our latest fix/version: Aspose.Cells for .NET v17.9.2:

I have tested your scenario/case using your sample code with your input file and it works fine. The output file is same as input file.