Free Support Forum -

Opening Excel files


i was trying opening an excel file with Aspose.Cells.

My code is:

Aspose.Cells.Workbook mExcelApp = new Aspose.Cells.Workbook("C:\\PP.xls");

I tried with this too:

FileStream fstream = new FileStream("C:\\PP.xls", FileMode.Open);
LoadOptions loadOptions = new LoadOptions(Aspose.Cells.LoadFormat.Xlsx);
Aspose.Cells.Workbook mExcelApp = new Aspose.Cells.Workbook(fstream, loadOptions);

But the excel aplication isn't open and I havent any mistakes in ejecution. It isnt do anything.

Other question. For Aspose.Words i have, in my project, a license Aspose.Words.lic. ┬┐Is necesary other for Aspose.Cells?



Kindly attach your template/input Excel file here, we will check your issue soon, Also, do you find any exception, if so, what is the error message? Which version of the product you are using?

Also, for Aspose.Cells, you need to have separate license. Aspose.Words.lic will only work for Aspose.Words product. Alternatively, if you need multiple products, you may purchase Aspsoe.Total for .NET license that will work fine with all the product for .NET.

Thank you.