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

Free Support Forum - aspose.com

Export to XLS

Hi how can i export my file to XLS format ? I have a spose.Words

Hi,


Thanks for your inquiry. Unfortunately, there is no direct way to convert Word document to Excel and vice versa. However, it is possible using Aspose.Words+Aspose.Cells. I have attached a simple converter for you (See the attached class). Here is how you should use it:
Document doc = new Document(“C:\Temp\sample.doc”);
ConverterDoc2Xls converter = new ConverterDoc2Xls();
Workbook wb = converter.Convert(doc);
wb.Save(“C:\Temp\out.xls”);
I hope, this helps.

Best regards,