Merging cells in Excel using Apache POI

前端 未结 5 832
醉话见心
醉话见心 2020-12-02 16:49

Is there any other way to merge cells in Excel using Apache POI library?

I was trying using the following, but its not working

// selecting the regio         


        
5条回答
  •  长情又很酷
    2020-12-02 16:56

    The best answer

    sheet.addMergedRegion(new CellRangeAddress(start-col,end-col,start-cell,end-cell));
    

提交回复
热议问题