<?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: ods excel multiple sheets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283516#M57751</link>
    <description>&lt;P&gt;ok, anyway my issue is not yet fixed and I did not find any case with&amp;nbsp;&lt;EM&gt;sheet_interval="table".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;From my perspective&amp;nbsp;a bunch of exemplary templates would be for me more helpful than merely teoretical descriptions.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2016 15:11:14 GMT</pubDate>
    <dc:creator>Sir_Highbury</dc:creator>
    <dc:date>2016-07-11T15:11:14Z</dc:date>
    <item>
      <title>ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/282966#M57586</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;I am trying to getting familiar with the ods excel that looks interesting (despite my sas version does not allow me to use the proc export with the format .xlsx).&lt;/P&gt;&lt;P&gt;Where should I change this code to get the sme data also in another worksheet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ods excel file="W:\03-OUT_outputfolder\example.xlsx" &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* will apply an appearance style */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;style=pearl&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;options(&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* for multiple procs/sheet */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sheet_interval="none" &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* name the sheet tab */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sheet_name="Example"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* add some formatted text */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ods escapechar='~';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ods text="~S={font_size=14pt font_weight=bold}~Abc def ghi";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* tabular output */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;proc print data=perm.Summary_table_xxxxxxxx;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;var _all_;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;title 'table';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;footnote '*footnote';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ods excel close;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, SH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 12:52:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/282966#M57586</guid>
      <dc:creator>Sir_Highbury</dc:creator>
      <dc:date>2016-07-11T12:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/282976#M57593</link>
      <description>&lt;P&gt;The creation of new worksheets is controlled by the &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p09n5pw9ol0897n1qe04zeur27rv.htm" target="_blank"&gt;SHEET_INTERVAL&lt;/A&gt; keyword in the OPTIONS() option. Your program sets sheet_interval="none", so all the program output will go on the same worksheet. Change the value of sheet_interval as necessary to put your&amp;nbsp;program output to go on new sheets.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 14:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/282976#M57593</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2016-07-08T14:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283075#M57638</link>
      <description>&lt;P&gt;You don't have a SAS Access to PCFiles license?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc setinit; run;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 21:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283075#M57638</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-08T21:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283289#M57743</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ok, I was also guessing that if sheet_interval="none" I would not get several sheets and this parameter should be edited. My question is how? For instance i changed the code as it follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ods excel file="W:\03-OUT_outputfolder\example.xlsx" &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* will apply an appearance style */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;style=pearl&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;options(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* for multiple procs/sheet &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sheet_interval="none" */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sheet_interval="table" &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* name the sheet tab */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sheet_name="Example"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;);&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;/* add some formatted text */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ods escapechar='~';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ods text="~S={font_size=14pt font_weight=bold}~Abc def ghi";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* tabular output */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;proc print data=table1;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;var _all_;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;title 'table';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;footnote '*footnote';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* add some formatted text */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ods escapechar='~';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ods text="~S={font_size=14pt font_weight=bold}~tttttttttt";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;proc print data=table2;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;var _all_;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;title 'table';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;footnote '*footnote';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ods excel close;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the tables on two separate sheets but:&lt;/P&gt;&lt;P&gt;- the second sheet is named Example2, where should I specify a different name?&lt;/P&gt;&lt;P&gt;- I added also the text (ods escapechar='~';&amp;nbsp;ods text="~S={font_size=14pt font_weight=bold}~tttttttttt";) but it is still on the first wook sheet, where can I set the break between the two pages?&lt;/P&gt;&lt;P&gt;If I am not wrong I was thinking to a similis logik like writing documents using Latex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a gain and best regards, SH&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 12:59:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283289#M57743</guid>
      <dc:creator>Sir_Highbury</dc:creator>
      <dc:date>2016-07-11T12:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283291#M57744</link>
      <description>&lt;P&gt;Dear Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached the result. Am I wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRs,&amp;nbsp;&lt;/P&gt;&lt;P&gt;SH&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12738i4B5F2A3D01041CB8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas.JPG" title="sas.JPG" /&gt;</description>
      <pubDate>Mon, 11 Jul 2016 13:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283291#M57744</guid>
      <dc:creator>Sir_Highbury</dc:creator>
      <dc:date>2016-07-11T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283481#M57747</link>
      <description>&lt;P&gt;You can review the options for ODS Excel by looking at the documentation for ODS tagsets since they're so similar.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html" target="_blank"&gt;https://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sheet Options are here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p09n5pw9ol0897n1qe04zeur27rv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p09n5pw9ol0897n1qe04zeur27rv.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're looking for sheet_label.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283481#M57747</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-11T14:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283491#M57748</link>
      <description>&lt;P&gt;Thanks! since it is about exporting and formats, is there not a library with some templates that can be easily copied, re-adjusted and used (like for latex)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283491#M57748</guid>
      <dc:creator>Sir_Highbury</dc:creator>
      <dc:date>2016-07-11T14:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283493#M57749</link>
      <description>&lt;P&gt;Not AFAIK, it's a good idea though.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first link has the base idea and you can find various papers on lexjansen.com.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a lot of options so the number of permutations are large.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283493#M57749</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-11T14:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283516#M57751</link>
      <description>&lt;P&gt;ok, anyway my issue is not yet fixed and I did not find any case with&amp;nbsp;&lt;EM&gt;sheet_interval="table".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;From my perspective&amp;nbsp;a bunch of exemplary templates would be for me more helpful than merely teoretical descriptions.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 15:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-multiple-sheets/m-p/283516#M57751</guid>
      <dc:creator>Sir_Highbury</dc:creator>
      <dc:date>2016-07-11T15:11:14Z</dc:date>
    </item>
  </channel>
</rss>

