fillColumns(sheet, 0, srclCol, maxrow, srcrCol, dstlCol, dstrCol);
}
private static void fillColumns(Worksheet sheet, int srctRow, int srclCol, int srcbRow, int srcrCol, int dstlCol, int dstrCol) {
if (srclCol == dstlCol && srcrCol > dstrCol) { //if remove right
final Range rng = Utils.getRange(sheet, srctRow, dstrCol+1, srcbRow, srcrCol);
rng.clearContents();
} else { //fill
final Range srcRange = Utils.getRange(sheet, srctRow, srclCol, srcbRow, srcrCol);
final Range dstRange = Utils.getRange(sheet, srctRow, dstlCol, srcbRow, dstrCol);
srcRange.autoFill(dstRange, Range.FILL_DEFAULT);
}
}