title: How to add worksheet after the last sheet of the workbook?
body: <p>I'm generating an Excel sheet with Delphi, but the problem I'm facing is that when I use this code:</p>
  
  <pre><code>Workbook.Sheets.Add;
  </code></pre>
  
  <p>the new sheet is added before the currently selected worksheet:</p>
  
  <p><img src="https://i.stack.imgur.com/cD1xL.jpg" alt="enter image description here"></p>
  
  <p>Does anyone know how to add a worksheet after the last sheet of the workbook ?</p>