Hi,
I was evaluating Aspose.Cells DLL. We are trying to convert a MHTML file into XLSX format. While using the below code, I am getting an issue which says
"An unhandled exception of type ‘System.ArgumentOutOfRangeException’ occurred in Aspose.Cells.dll
Additional information: Length cannot be less than zero."
Here is my code. I am using visual studio 2015 console application.
HTMLLoadOptions options = new HTMLLoadOptions(LoadFormat.MHtml);
HtmlSaveOptions soptions = new HtmlSaveOptions(SaveFormat.Xlsx);
Aspose.Cells.Workbook book = new Aspose.Cells.Workbook(@"C:\Users\rr274355\Desktop\ex.mhtml");
book.Save(@"C:\Users\rr274355\Desktop\" + "output.xlsx", soptions);
Please let me know if there is any solution for this issue
Thanks,
Subha.S