i am able to get the last row of the sheet but unable to get the last cell from the row index. how can i get the that. The code for finding the last row is
public int GetLastRow()
{
XSheetCellCursor XSCC = _sheet.createCursor();
((XUsedAreaCursor)XSCC).gotoEndOfUsedArea(true);
XCellRangeAddressable XCRA = (XCellRangeAddressable)XSCC;
CellRangeAddress CRA = XCRA.getRangeAddress();
int lastRow = CRA.EndRow;
return lastRow;
}
i found by searching form libre office thanks to exeye .
and my question is, from the each row how can i get the last cell that containing data in it.