<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Creation of a multi-sheets Excel file with SAS 8.2 in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Creation-of-a-multi-sheets-Excel-file-with-SAS-8-2/m-p/14674#M379</link>
    <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
Would anyone know how to easily generate a multi-sheets Excel file from multiple datasets by using SAS 8.2 ? One dataset corresponding to one worksheet in Excel. It should act as the SHEET option of the PROC EXPORT on SAS 9.&lt;BR /&gt;
&lt;BR /&gt;
In addition I'd like to find a solution which does not require Excel to be opened and the Excel File to exist before executing the SAS code.&lt;BR /&gt;
&lt;BR /&gt;
I've already read a lot of topics on the internet but none gave me the expected results.&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance for helping me out.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards,&lt;BR /&gt;
Florent.</description>
    <pubDate>Thu, 02 Apr 2009 17:05:31 GMT</pubDate>
    <dc:creator>Florent</dc:creator>
    <dc:date>2009-04-02T17:05:31Z</dc:date>
    <item>
      <title>Creation of a multi-sheets Excel file with SAS 8.2</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Creation-of-a-multi-sheets-Excel-file-with-SAS-8-2/m-p/14674#M379</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
Would anyone know how to easily generate a multi-sheets Excel file from multiple datasets by using SAS 8.2 ? One dataset corresponding to one worksheet in Excel. It should act as the SHEET option of the PROC EXPORT on SAS 9.&lt;BR /&gt;
&lt;BR /&gt;
In addition I'd like to find a solution which does not require Excel to be opened and the Excel File to exist before executing the SAS code.&lt;BR /&gt;
&lt;BR /&gt;
I've already read a lot of topics on the internet but none gave me the expected results.&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance for helping me out.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards,&lt;BR /&gt;
Florent.</description>
      <pubDate>Thu, 02 Apr 2009 17:05:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Creation-of-a-multi-sheets-Excel-file-with-SAS-8-2/m-p/14674#M379</guid>
      <dc:creator>Florent</dc:creator>
      <dc:date>2009-04-02T17:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of a multi-sheets Excel file with SAS 8.2</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Creation-of-a-multi-sheets-Excel-file-with-SAS-8-2/m-p/14675#M380</link>
      <description>Florent:&lt;BR /&gt;
  In SAS 8.2, you only have ODS HTML available to you. By default, ODS HTML will create one worksheet for EVERY ODS sandwich:&lt;BR /&gt;
 [pre]&lt;BR /&gt;
ods html file='allinone.html' style=sasweb;&lt;BR /&gt;
proc print data=file1; run;&lt;BR /&gt;
 &lt;BR /&gt;
proc print data=file2; run;&lt;BR /&gt;
 &lt;BR /&gt;
proc print data=file3; run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
However, using Microsoft's design for linking separate HTML files together, you can make one workbook that uses each HTML file for a separate worksheet., as described in these previous forum postings (sorry, I don't know how "easy" this is -- but I have made it work):&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=18828䦌" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=18828䦌&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=8132ῄ" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=8132ῄ&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=12780㇬" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=12780㇬&lt;/A&gt; (#2 item)&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 02 Apr 2009 17:45:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Creation-of-a-multi-sheets-Excel-file-with-SAS-8-2/m-p/14675#M380</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-04-02T17:45:10Z</dc:date>
    </item>
  </channel>
</rss>

