Guest User

Untitled

a guest
Jul 6th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1. private static void removeMultipleCells(@NonNull Sheet sheet, int rowBegin, int columnNumber) {
  2.   Iterator<Row> rowIterator = sheet.rowIterator();
  3.   while(rowIterator.hasNext()) {
  4.     Row row = iterator.next();
  5.     if(row.getRowNum() > rowBegin) {
  6.       row.removeCell(row.getCell(columnNumber));
  7.     }
  8.   }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment