請問大大
T100 合併儲存格的寫法是什麼?
IMPORT JAVA org.apache.poi.xssf.streaming.SXSSFWorkbook
IMPORT JAVA org.apache.poi.ss.usermodel.CellStyle
IMPORT JAVA org.apache.poi.ss.usermodel.Sheet
IMPORT JAVA org.apache.poi.ss.usermodel.Row
IMPORT JAVA org.apache.poi.ss.usermodel.Cell
IMPORT JAVA org.apache.poi.ss.usermodel.Font
IMPORT JAVA org.apache.poi.ss.usermodel.Header
IMPORT JAVA org.apache.poi.ss.util.CellRangeAddress
IMPORT JAVA org.apache.poi.ss.usermodel.Hyperlink
IMPORT JAVA org.apache.poi.ss.usermodel.CellRange
DEFINE workbook SXSSFWorkbook
DEFINE sheet Sheet
DEFINE header Header
DEFINE style CellStyle #style
DEFINE ROW Row
DEFINE cell Cell
DEFINE cra CellRangeAddress
LET cra = cell.CellRangeAddress(0, 3, 3, 9)
CALL sheet.addMergedRegion(cra)
還請各位大大多多指教,謝謝 !
找到一個
不知可不可以用
參考: https://www.cnblogs.com/yanjie-java/p/8184338.html