<?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: How to Get PROC ODS TEXT on a new Tab in ODS EXCEL output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644332#M24027</link>
    <description>&lt;P&gt;However,&amp;nbsp; it the SHEET_INTERVAL="PROC" does put the PROC ODS TEXT on a new page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;for pointing me in the right direction.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 17:49:28 GMT</pubDate>
    <dc:creator>adleach2</dc:creator>
    <dc:date>2020-04-30T17:49:28Z</dc:date>
    <item>
      <title>How to Get PROC ODS TEXT on a new Tab in ODS EXCEL output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644309#M24023</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I am using SAS ODS EXCEL to create a multi tab excel spreadsheet.&amp;nbsp; &amp;nbsp;I would like to have tabs with output and then some tabs with text.&amp;nbsp; &amp;nbsp; I was going to use PROC ODSTEXT for the text,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; However, I can't the PROC ODS TEXT output to appear on its own tab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have attached my code as well as the excel output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Any suggestions on how to achieve this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 16:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644309#M24023</guid>
      <dc:creator>adleach2</dc:creator>
      <dc:date>2020-04-30T16:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get PROC ODS TEXT on a new Tab in ODS EXCEL output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644313#M24024</link>
      <description>&lt;P&gt;Can you please post your code to the forum rather than as an attachment? It makes it easier to answer your question.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm assuming you've tried setting sheet_interval to now before the PROC ODSTEXT via ODS EXCEL options?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0258wnlz15ubrn1vqfalp6l4hjz"&gt;https://documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0258wnlz15ubrn1vqfalp6l4hjz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="xisDoc-argument"&gt;NOW&lt;/H4&gt;
&lt;DIV class="xisDoc-argumentDescription"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;creates a new worksheet. When used, the next output object starts on a new sheet. After SHEET_INTERVAL='NOW' is executed, the SHEET_INTERVAL option reverts to the previous setting.&lt;/P&gt;
&lt;SECTION class="xisDoc-tableWrap"&gt;
&lt;TABLE class="xisDoc-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xisDoc-summaryInteraction"&gt;Interaction&lt;/TD&gt;
&lt;TD class="xisDoc-summaryText"&gt;The option SHEET_INTERVAL='NONE' overrides the PAGEBREAK=NO option for PROC ODSTEXT and PROC ODSLIST. That is, &lt;STRONG&gt;SHEET_INTERVAL='NOW' creates a new worksheet when PROC ODSLIST or PROC ODSTEXT uses the PAGEBREAK=NO option.&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xisDoc-summaryExample"&gt;Example&lt;/TD&gt;
&lt;TD class="xisDoc-summaryText"&gt;ods excel options (sheet_interval='now');&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/310917"&gt;@adleach2&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I am using SAS ODS EXCEL to create a multi tab excel spreadsheet.&amp;nbsp; &amp;nbsp;I would like to have tabs with output and then some tabs with text.&amp;nbsp; &amp;nbsp; I was going to use PROC ODSTEXT for the text,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; However, I can't the PROC ODS TEXT output to appear on its own tab.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I have attached my code as well as the excel output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Any suggestions on how to achieve this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Alan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/SECTION&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Apr 2020 17:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644313#M24024</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-04-30T17:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get PROC ODS TEXT on a new Tab in ODS EXCEL output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644330#M24025</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; Here is My codes as requested&lt;BR /&gt;&lt;BR /&gt;data work_path;&lt;BR /&gt;&lt;BR /&gt;work_path = pathname ( "WORK" ) ;&lt;BR /&gt;&lt;BR /&gt;call symput ( "work_path", trim(work_path) ) ;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods excel file="&amp;amp;work_path./test.xlsx";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods excel options(sheet_name="Output 1" sheet_interval="output");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc print data=sashelp.class;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods excel options(sheet_name="TEXT" sheet_interval="output");&lt;BR /&gt;&lt;BR /&gt;proc odstext ;&lt;BR /&gt;&lt;BR /&gt;p 'NEED THIS ON A NEW TAB';&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods excel options(sheet_name="Output 2" sheet_interval="output");&lt;BR /&gt;proc tabulate data=sashelp.class;&lt;BR /&gt;class age sex;&lt;BR /&gt;table age, sex;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ods EXCEL close;</description>
      <pubDate>Thu, 30 Apr 2020 17:44:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644330#M24025</guid>
      <dc:creator>adleach2</dc:creator>
      <dc:date>2020-04-30T17:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get PROC ODS TEXT on a new Tab in ODS EXCEL output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644331#M24026</link>
      <description>&lt;P&gt;Unfortunately it looks like I don't have the SHEET_INTERVAL="NOW" options available to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Argument now for word option sheet_interval not recognized. Expecting one of these keywords output, table, page, bygroup, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;bygroups, proc, none or none.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are on SAS&amp;nbsp; 9.04.01M3P062415&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 17:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644331#M24026</guid>
      <dc:creator>adleach2</dc:creator>
      <dc:date>2020-04-30T17:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get PROC ODS TEXT on a new Tab in ODS EXCEL output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644332#M24027</link>
      <description>&lt;P&gt;However,&amp;nbsp; it the SHEET_INTERVAL="PROC" does put the PROC ODS TEXT on a new page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;for pointing me in the right direction.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 17:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644332#M24027</guid>
      <dc:creator>adleach2</dc:creator>
      <dc:date>2020-04-30T17:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get PROC ODS TEXT on a new Tab in ODS EXCEL output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644370#M24028</link>
      <description>&lt;P&gt;9.4M3 is the first version where ODS Excel is in production.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can upgrade at all, I'd highly recommend it. It's still quite buggy in that version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 19:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Get-PROC-ODS-TEXT-on-a-new-Tab-in-ODS-EXCEL-output/m-p/644370#M24028</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-04-30T19:23:23Z</dc:date>
    </item>
  </channel>
</rss>

