title: Apache poi - Remove first row in excel and save it to the same file
body: <p>Hello i need help with this, i tried about 30 tutorials last few hours and i dont know how to solve it:</p>
  
  <ol>
  <li>Open Excel File</li>
  <li>Delete and remove row "A" ( to be replaced in for later by excel row B,C,D,...)</li>
  <li>Rewrite opened Excel File ( because if program crash for high usage i need to have stored last value, and start program again without searching and deleting which was used ... )</li>
  </ol>
  
  <hr>
  
  <pre><code>OPCPackage fileInputStream = OPCPackage.open(new File("input.xlsx"));
          XSSFWorkbook workbook = new XSSFWorkbook(fileInputStream);
          XSSFSheet worksheet = workbook.getSheetAt(0);
          worksheet.shiftRows(0, 0, 1);
          workbook.write(new FileOutputStream("input.xlsx")); 
  </code></pre>
  
  <hr>
  
  <p>This code dont remove row a and dont save file to the same location ...</p>
  
  <p>Could anybody help me please?</p>
  
  <p>Thank you FJ</p>