摘要: 1、如果你用getRow()、getCell 这样的方法时,下标则是从0开始。 2、但是当你用 String totalClleFormulaStr = "I"+(rowIndex+1)+"*"+"E"+(rowIndex+1); cell10.setCellFormula(totalClleFor 阅读全文
posted @ 2022-01-21 10:29 信铁寒胜 阅读(281) 评论(0) 推荐(0) 编辑
摘要: POI操作中,最近遇到了没有关闭Workbook而导致无法删除对应的文件,以下是关闭的方法。 jar包:poi-3.8.jar File f = new File("/path/to/excel/file"); Workbook wb = null; NPOIFSFileSystem npoifs 阅读全文
posted @ 2022-01-21 08:42 信铁寒胜 阅读(1260) 评论(0) 推荐(0) 编辑