亲测HSSRow可以实现此功能,,同样的方式为啥XSSFRow不可以?代码如下
FileInputStream f = new FileInputStream (" "); //XSL XSLX
XSSFWorkbook workbook = new XSSFWorkbook(f);
XSSFSheet sheet = workbook.getSheet("work");
XSSFRow row1 = sheet.getRow (2);
row1.getCell (0).setCellValue ("22222221111hahahhaha");