<?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 Outputting to multiple excel workbooks in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Outputting-to-multiple-excel-workbooks/m-p/5041#M2036</link>
    <description>Is there a way of creating an excel &lt;B&gt;workbook&lt;/B&gt; for each change in the value of the by variable in proc report?&lt;BR /&gt;
&lt;BR /&gt;
Any help would be much appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Thu, 11 Oct 2007 10:15:19 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-10-11T10:15:19Z</dc:date>
    <item>
      <title>Outputting to multiple excel workbooks</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Outputting-to-multiple-excel-workbooks/m-p/5041#M2036</link>
      <description>Is there a way of creating an excel &lt;B&gt;workbook&lt;/B&gt; for each change in the value of the by variable in proc report?&lt;BR /&gt;
&lt;BR /&gt;
Any help would be much appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Thu, 11 Oct 2007 10:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Outputting-to-multiple-excel-workbooks/m-p/5041#M2036</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-11T10:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Outputting to multiple excel workbooks</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Outputting-to-multiple-excel-workbooks/m-p/5042#M2037</link>
      <description>Hi:&lt;BR /&gt;
  You could investigate the NEWFILE= option, which works with most Markup destinations. &lt;BR /&gt;
&lt;BR /&gt;
  With this code, I get 1 file for each by group: msrep1.xls thru msrep10.xls for the MSOFFICE2K HTML files and xprep1.xls thru xprep10.xls for the TAGSETS.EXCELXP XML files (using SASHELP.SHOES).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods msoffice2k file='c:\temp\msrep1.xls' style=sasweb newfile=bygroup;&lt;BR /&gt;
ods tagsets.excelxp file='c:\temp\xprep1.xls' style=sasweb newfile=bygroup;&lt;BR /&gt;
   &lt;BR /&gt;
  proc report data=sashelp.shoes nowd;&lt;BR /&gt;
    title 'Report for #byval(region)';&lt;BR /&gt;
    by region;&lt;BR /&gt;
    column region product sales;&lt;BR /&gt;
    define region /group;&lt;BR /&gt;
    define product /group;&lt;BR /&gt;
    define sales /sum;&lt;BR /&gt;
    rbreak after / summarize;&lt;BR /&gt;
  run;&lt;BR /&gt;
  &lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 11 Oct 2007 14:09:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Outputting-to-multiple-excel-workbooks/m-p/5042#M2037</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-10-11T14:09:27Z</dc:date>
    </item>
  </channel>
</rss>

