I am using NPOI and I want to merge all cells in a single row.
example:
NPOI.SS.Util.CellRangeAddress crart = new NPOI.SS.Util.CellRangeAddress(rowindex, rowindex, 2, columnCount >= 2 ? columnCount : 2 + columnCount);
sheet.AddMergedRegion(crart);
I am using NPOI and I want to merge all cells in a single row.
example:
NPOI.SS.Util.CellRangeAddress crart = new NPOI.SS.Util.CellRangeAddress(rowindex, rowindex, 2, columnCount >= 2 ? columnCount : 2 + columnCount);
sheet.AddMergedRegion(crart);