Well, your template file is not a native Excel file, it is actually a web page / html file. You may open the file into notepad and confirm it. It is an html (web) file. You have to convert it into "Microsoft Office Excel Workbook". The procedure is very simple. Open the file into MS Excel (e.g 2003/2007) and Save it As "Microsoft Office Excel Workbook". It will work fine then.
Yes, I am afraid you cannot read general Html files (as your template Html file) by Aspose.Cells. I am afraid there is no other way but to use my workaround at the moment.
Well, using latest version (you may download it from here: Aspose.Cells for .NET (Latest Version) ), you can read Html files but the html files should be Excel oriented same as with Java version. The common or general html files are not supported yet.
It works great we found just one difference from this original (TIE_OUT_PL.xls) after processing with Aspose. The cell height and the cell width were not the same.
Well as I told you there might some differences regarding formattings etc. while converting HTML to Excel format. I can find formatting issues as you have mentioned
Workbook workbook = new Workbook(“e:\test2\TIE_OUT_PL.xls”, new LoadOptions(LoadFormat.Html)); workbook.Save(“e:\test2\outddd.xls”, SaveFormat.Excel97To2003);
I have logged a ticket with an id: CELLSNET-40189. We will look into it if we can fix it.