title: Export data to multiple Excel sheets?
body: <p>How can I export data from Visual FoxPro into Excel file I know. I something like this:  </p>
  
  <pre><code>USE tableName
  EXPORT TO (fileName) TYPE XL5 AS CPDBF()
  </code></pre>
  
  <p>I get Excel file with one sheet. Does anybody know how can export second table to the same excel file but in different sheet? I prefer Visual FoxPro code but you can write me example in C#, for example how to export each data table to different Excel sheet but in the same Excel file.</p>
  
  <p>Kind regards,
  Ozren Sirola</p>