<?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 Re: export to multiple excel sheets based on variable in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/export-to-multiple-excel-sheets-based-on-variable/m-p/88084#M25156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you cynthia!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2012 21:53:57 GMT</pubDate>
    <dc:creator>felicity1212</dc:creator>
    <dc:date>2012-06-21T21:53:57Z</dc:date>
    <item>
      <title>export to multiple excel sheets based on variable</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-multiple-excel-sheets-based-on-variable/m-p/88082#M25154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi- i have a dataset "allproviders"&lt;/P&gt;&lt;P&gt;i would like to export the data in allproviders to multiple tabs based on change in "providername".&amp;nbsp; So for every group of "providername" i would like a new excel worksheet.&amp;nbsp; I found this thread &lt;A _jive_internal="true" href="https://communities.sas.com/message/13594#13594"&gt;https://communities.sas.com/message/13594#13594&lt;/A&gt;, but not sure how to use the code.&amp;nbsp; Can someone help me with code using my dataset names so that I can undestand it? I am completely new to SAS programmaing.&lt;/P&gt;&lt;P&gt;Thank you kindly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 15:12:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-multiple-excel-sheets-based-on-variable/m-p/88082#M25154</guid>
      <dc:creator>felicity1212</dc:creator>
      <dc:date>2012-06-20T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple excel sheets based on variable</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-multiple-excel-sheets-based-on-variable/m-p/88083#M25155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I just posted a simple example to your other forum posting. I am teaching today and not on a computer where I can do downloads. However, SASHELP.CLASS has 19 observations and 5 variables. You should be able to run my code posted in your other forum post and figure out how to use your dataset name and variable names with my code.&lt;/P&gt;&lt;P&gt; &lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/message/130211#130211"&gt;https://communities.sas.com/message/130211#130211&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But run the code first and see if you can figure out what's what. SASHELP.CLASS is the name of the dataset and AGE is the name of the BY variable. So if your variable is called PROVIDERNAME or PROVNAME, then where I have BY AGE, you would have BY PROVNAME or BY PROVIDERNAME in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then where I have a VAR statement, you would use your other variables instead of NAME, AGE, SEX, HEIGHT and WEIGHT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 19:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-multiple-excel-sheets-based-on-variable/m-p/88083#M25155</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-06-20T19:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple excel sheets based on variable</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-multiple-excel-sheets-based-on-variable/m-p/88084#M25156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you cynthia!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 21:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-multiple-excel-sheets-based-on-variable/m-p/88084#M25156</guid>
      <dc:creator>felicity1212</dc:creator>
      <dc:date>2012-06-21T21:53:57Z</dc:date>
    </item>
  </channel>
</rss>

