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

Free Support Forum - aspose.com

Convert Excel to docx , we are getting hide gridlines also in docx

No need to show removed gridlines in docx while converting in excel


This may be a limitation in Excel to DOCX conversion currently. Please zip and attach your template Excel file and output DOCX. Moreover, attach your desired DOCX for reference. We will look into it soon.

ExcelToWord.zip (26.3 KB)

I need Same Excel Format in docx


Thanks for the template Excel file and your expected Word document.

I tested your scenario/case using your template file and found unnecessary borders/gridlines are shown in the output Word document in Excel to DOCX conversion. I tested using our latest version and following sample code with your template Excel file, I noticed the issue in the output DOCX:
Sample code:

Workbook workbook = new Workbook("e:\\test2\\Input.xlsx");
workbook.Save("e:\\test2\\out1.docx", Aspose.Cells.SaveFormat.Docx); 

A ticket was already logged with an id “CELLSNET-51461” for the issue. We have already evaluated the issue but it might take sometime to fix it. Anyways, once we have an update on it, we will let you know.

The issues you have found earlier (filed as CELLSNET-51461) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi