<?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 Excel Export in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385461#M92204</link>
    <description>&lt;P&gt;I have a dataset that has multiple "types" that I need to export to and append to different excel sheets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Type &amp;nbsp; Dist1 &amp;nbsp;Dist2 &amp;nbsp;Dist3&lt;/P&gt;&lt;P&gt;A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23&lt;/P&gt;&lt;P&gt;C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 23 &amp;nbsp; &amp;nbsp; &amp;nbsp;32 &amp;nbsp; &amp;nbsp; &amp;nbsp;45&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excel Workbook has 3 sheets (A, B, C) &amp;nbsp;All "A" data each week needs apppended to the "A" sheet and so forth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 19:27:31 GMT</pubDate>
    <dc:creator>overky</dc:creator>
    <dc:date>2017-08-03T19:27:31Z</dc:date>
    <item>
      <title>Excel Export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385461#M92204</link>
      <description>&lt;P&gt;I have a dataset that has multiple "types" that I need to export to and append to different excel sheets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Type &amp;nbsp; Dist1 &amp;nbsp;Dist2 &amp;nbsp;Dist3&lt;/P&gt;&lt;P&gt;A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23&lt;/P&gt;&lt;P&gt;C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 23 &amp;nbsp; &amp;nbsp; &amp;nbsp;32 &amp;nbsp; &amp;nbsp; &amp;nbsp;45&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excel Workbook has 3 sheets (A, B, C) &amp;nbsp;All "A" data each week needs apppended to the "A" sheet and so forth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 19:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385461#M92204</guid>
      <dc:creator>overky</dc:creator>
      <dc:date>2017-08-03T19:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385466#M92209</link>
      <description>&lt;P&gt;Use PROC EXPAND with a (where=(Type='A')) option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the append part of your program, check out the code in this article&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/024-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/024-31.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 19:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385466#M92209</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-08-03T19:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385467#M92210</link>
      <description>&lt;P&gt;Run a PROC EXPORT to create a sheet when TYPE='A'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run another PROC EXPORT to the same Excel file to create a different sheet when TYPE='B'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Repeat as needed&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 19:37:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385467#M92210</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-08-03T19:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385468#M92211</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;i love that. Cheers! lol&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 19:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385468#M92211</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2017-08-03T19:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385472#M92213</link>
      <description>&lt;P&gt;Yes, I knew I could write multiple export statements did not know if they could be combined in anyway to shorten coding as I have lets say 26 types that all go to different sheets in different workbooks. &amp;nbsp;But if not then I will write the multiple lines of code.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 19:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385472#M92213</guid>
      <dc:creator>overky</dc:creator>
      <dc:date>2017-08-03T19:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385475#M92215</link>
      <description>&lt;P&gt;This is an example where a macro could loop through all "types" and get the job done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;... if they could be combined in anyway to shorten coding as I have lets say 26 types that all go to different sheets in different workbooks ...&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure would have been helpful to mention this in your first message.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 20:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385475#M92215</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-08-03T20:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385477#M92217</link>
      <description>&lt;P&gt;Loop makes sense.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 20:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Export/m-p/385477#M92217</guid>
      <dc:creator>overky</dc:creator>
      <dc:date>2017-08-03T20:07:56Z</dc:date>
    </item>
  </channel>
</rss>

