title: XML ERROR in Workbook Setting REASON: Too many tags
body: <p>I have created a PL/SQL procedure to generate excel spreadsheets (in XML format) those are downloadable from an Oracle Application Express (Apex).</p>
  
  <p>However,</p>
  
  <p>When one generate a second file when the first one is still open in Excel then it gets the following error message:</p>
  
  <pre><code>XML ERROR in Workbook Setting
  REASON: Too many tags
  FILE:   C:\...
  GROUP:  Workbook
  TAG:    Worksheet
  ATTRIB: Name
  VALUE:  Sheet1
  
  XML ERROR in Workbook Setting
  REASON: Too many tags
  FILE:   C:\...
  TAG:    Worksheet
  ATTRIB: Name
  VALUE:  Sheet2
  
  XML ERROR in Workbook Setting
  REASON: Too many tags
  FILE:   C:\....
  GROUP:  Workbook
  TAG:    Worksheet
  ATTRIB: Name
  VALUE:  Sheet3
  </code></pre>
  
  <p>I think it is related to the "Worksheet" tag. However, the issue cannot always be replicated.</p>
  
  <p>Thanks in advance.</p>