Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void removeMultipleCells(@NonNull Sheet sheet, int rowBegin, int columnNumber) {
- Iterator<Row> rowIterator = sheet.rowIterator();
- while(rowIterator.hasNext()) {
- Row row = iterator.next();
- if(row.getRowNum() > rowBegin) {
- row.removeCell(row.getCell(columnNumber));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment