I've tried a couple of for loops, but that doesn't help me. Can anyone help me on this?
Following is there for to get a number of columns of a particular row in given excel using Java. But I want vice versa.
int noOfColumns = sh.getRow(0).getPhysicalNumberOfCells();
int noOfColumns = sh.getRow(0).getLastCellNum();