Max row problem

Hi, I am having some problem with maxRow. Here is code snippet:

Workbook workbook = new Workbook();

try {
inputStream = getClass().getClassLoader().getResourceAsStream(path);

workbook.open(inputStream);

inputStream.close();
} catch (IOException e) {
throw new RuntimeException(e);
}

Worksheets worksheets = workbook.getWorksheets();

Worksheet worksheet = worksheets.getSheet(“Base_Datos_AMEF”);

Cells cells = worksheet.getCells();

int maxRow = cells.getMaxRow();

and this int returns -1. Can you help me, there is test file in attachment.

I’m usin aspose for java.

Thanks, Ivica.

Hi Ivica,

Thanks for the template file with code,

We found the issue and fixed it. Kindly try the attached version.

Thank you.

Yes, that helped, thanks.

Hi, I downloaded aspose.cells 1.9.4-hotfix and it seems that patch that you gave me for this problem is not included. Can you tell me does it should be included or if not, when do you plan to include it?

Thanks, Ivica.

Hi Ivica,

Thanks for considering Aspose.

Well, you may use the fix without any problem, it will work as official version. However, our next official upcomming release would include the functionality of the fix.

Thank you.