Free Support Forum - aspose.com

MaxDataRowInColumn

There seems to be a bug in MaxDataRowInColumn: I always get an ArgumentOutOfRange exception (for no matter what value of the parameter).

Workbook wb = new Workbook();

wb.Open(@"C:\Test.xls");

Worksheet ws = wb.Worksheets[0];

int maxrowincol = ws.Cells.MaxDataRowInColumn(1);

Hi,

Thanks for considering Aspose.

Thanks for pointing it out, we will resolve it soon.

Regards

Amjad Sahi

Aspose Nanjing Team

Yes, this is a bug. Thanks for your report.

Please try this attached fix.

Thanks for the quick response!