我正在开发一个与 Excel 工作表相关的桌面应用程序。我在两行之间插入行时遇到一些问题。有没有可能使用Apache POI在 Java 中做到这一点?
Workbook wb3=WorkbookFactory.create(new FileInputStream("Book1.xls"));
Sheet sh=wb3.getSheet("sheet1");
//Reading the available rows using (sh.getRow(1))
//Here i need to insert second row (????)
//I have third row here which already exists (sh.getRow(3))