I am working with .xls file i am going to translate(shift) Rows of excell table to specific position.But got unwanted results everytime.I had already gone through documentation of method shiftRows.Unable to understand working of this statement.
sheet.shiftRows(34, sheet.getLastRowNum(), processIndex-4);
Sometimes it shifted two rows in Excell Table.