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

Free Support Forum - aspose.com

Boarders are missing in XSLX output - it is present in spreadshetml output

Hi Team,


We are using Aspose Cell 7.4.3.4 for excel file generation.

Boarders are missing in XLSX output where as it is present in spreadsheet ml out put.

Please find attached sample XML ad XLSX file for reference.

Sample code:

wBook.Save(@"…\Test25474.xlsx",
Aspose.Cells.SaveFormat.Xlsx);

wBook.Save(@"..\Test25474.xml", Aspose.Cells.SaveFormat.SpreadsheetML);

Thanks and Regards,
Nakul

Hi,


I have tested your scenario/case a bit using latest fix/version: Aspose.Cells for .NET v7.5.0.4. it works fine. I opened your SpreadsheetML file to convert to XLSX file format using the below code, the output XLSX file does have borders fine:

Sample code:

Workbook book = new Workbook(“e:\test2\25474.xml”, new LoadOptions(LoadFormat.SpreadsheetML));
book.Save(“e:\test2\out25474.xlsx”, SaveFormat.Xlsx);

Thank you.