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

Free Support Forum - aspose.com

Aspose Cells 2.5.1 read xlsx file

Hi,

I am having Aspose Cell 2.5.1 version, it is not possible for me to upgrade to latest version.
I need javadoc for same, i have requirement to read xlxs file (not xls).

Following constructor:
String w_path = “D:\1.xlsx”;
Workbook w_book = new Workbook(w_path);

Is not working for me…it would be great if somebody can provide me example or javadoc for same.

Hi,


Thanks for your query.

Well, I am afraid, we cannot help you much regarding your older version that you using. Neither we could provide you the javadocs of any version which is older than one year or so, it is our internal policy not to provide versions, docs or fixes for older versions, we have to abide by our policy.

However, you may try to change your sample code like following if it works fine:
e.g
Sample code:

String w_path = “D:\1.xlsx”;
Workbook w_book = new Workbook();
w_book.open(w_path, FileFormatType.XLSX);

We highly recommend you to kindly upgrade to our latest versions or newer APIs set. We have made tremendous enhancements and supported new features over the years to make the product more robust and feature rich APIs.

Thank you.

Thanks for the quick response…worked perfectly :slight_smile:

Hi,

Thanks for your feedback and using Aspose.Cells.

It is good to know that your issue is resolved with the code suggested by Amjad. Let us know if you encounter any other issue, we will be glad to look into it and help you further. Have a good day.