worksheet.getCells().get(x-y) bug

hello,

i have a strange bug on worksheet.getCells().get(0,y), with y=0 it return the A2 cell and not the A1, y=1 => A2 ...

is it a bug?

Christophe

Thank you

Hi Christophe,

Thanks for your posting and using Aspose.Cells for Java.

I have tested your issue with the latest version: Aspose.Cells
for Java v7.7.2.1
and found it is working fine.

I have tested it with the following code and it returned the correct cell name i.e A1.

Java


Workbook workbook = new Workbook();


Worksheet worksheet = workbook.getWorksheets().get(0);


int y=0;


Cell cell = worksheet.getCells().get(0, y);


System.out.println(cell.getName());


Output:
A1

Hi,


thank you for your response. It was a bug in my code.

Hi,

Thanks for using Aspose.Cells.

It is good to know that you were able to sort out this issue. If you encounter any other issue, please feel free to post on our forums, we will look into it and help you further.