Ok so Im iterating over a list and instead of inserting values into cells horizontally, im putting the values in the cells vertically.
It works fine for the first ti
this is the solution that worked:
myRow = sheet.getRow(row); if(null == myRow) { myRow=sheet.createRow(row); }