title: Finding difficulty to add one more sheet in Excel workbook using Apache POI
body: <p>My following 3 line code is used to create one file with sheet1(Year 2019) now would like to execute another page and need to store the result of it in same file as sheet2(Year 2020). </p>
  
  <pre><code>XSSFWorkbook wb = new XSSFWorkbook();
          XSSFSheet sheet = wb.createSheet("Year 2019");
          FileOutputStream fos = new FileOutputStream("C:\\Users\\dp\\Desktop\\MData1_Test_1.xlsx");
  
  Row header_1 = sheet.createRow(rowNum[0]);
          rowNum[0] = (rowNum[0] + 1);
          header_1.createCell(0).setCellValue("Analytics");
  </code></pre>
  
  <p>Any help will be appreciated.</p>