<?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: Output individual tabs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Output-individual-tabs/m-p/452888#M114345</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.cars out=cars;
by origin;
run;

ods excel file='demo.xlsx' style=seaside
options(sheet_interval='bygroup' sheet_label='Origin');

title;
ods noptitle;

proc print data=cars noobs label;
by origin;
run;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Apr 2018 16:38:03 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-04-10T16:38:03Z</dc:date>
    <item>
      <title>Output individual tabs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-individual-tabs/m-p/452886#M114343</link>
      <description>&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; have;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; state $ amt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AL 250&lt;/P&gt;
&lt;P&gt;AL 500&lt;/P&gt;
&lt;P&gt;CA 200&lt;/P&gt;
&lt;P&gt;DE 1000&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;sort&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = have &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;= have1; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; state ;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = have1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; state;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Lets say I want to proc export, I want each state to have its own tab without the byline so AL, CA and DE would output to its own tab.&amp;nbsp; I do not want to have to name each state because I may have to do this for all 50 states.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 16:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-individual-tabs/m-p/452886#M114343</guid>
      <dc:creator>Q1983</dc:creator>
      <dc:date>2018-04-10T16:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Output individual tabs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-individual-tabs/m-p/452888#M114345</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.cars out=cars;
by origin;
run;

ods excel file='demo.xlsx' style=seaside
options(sheet_interval='bygroup' sheet_label='Origin');

title;
ods noptitle;

proc print data=cars noobs label;
by origin;
run;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Apr 2018 16:38:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-individual-tabs/m-p/452888#M114345</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-10T16:38:03Z</dc:date>
    </item>
  </channel>
</rss>

