<?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 &amp;amp; multiple sheets in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319227#M17522</link>
    <description>&lt;P&gt;When I run the code I got the sheet names as following:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"country - Detailed and-or su 1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"country - Detailed and-or su 2"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"country - Detailed and-or su 3".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not what I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want differnt sheet names such as "Report", "Result", "Finding".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2016 11:17:23 GMT</pubDate>
    <dc:creator>Niugg2010</dc:creator>
    <dc:date>2016-12-15T11:17:23Z</dc:date>
    <item>
      <title>ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319153#M17520</link>
      <description>&lt;P&gt;Below is my code, I want to get a excel files with multiple sheets. My question is how I can specify each sheet name. For example: sheet 1 is named Report, sheet2 is named RESULT, and sheet 3 is named FINDING.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;length PatientID $2;&lt;BR /&gt;input PatientID $ Systolic Diastolic @@;&lt;BR /&gt;datalines;&lt;BR /&gt;CK 120 50 SS 96 60 FR 100 70&lt;BR /&gt;CP 120 75 BL 140 90 ES 120 70&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;&lt;BR /&gt;data b;&lt;BR /&gt;length PatientID $2;&lt;BR /&gt;input PatientID $ Systolic Diastolic @@;&lt;BR /&gt;datalines;&lt;BR /&gt;CP 165 110 JI 110 40 MC 119 66&lt;BR /&gt;FC 125 76 RW 133 60 KD 108 54&lt;BR /&gt;DS 110 50 JW 130 80 BH 120 65&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;data c;&lt;BR /&gt;length PatientID $2;&lt;BR /&gt;input PatientID $ Systolic Diastolic @@;&lt;BR /&gt;datalines;&lt;BR /&gt;CP 120 75 BL 140 90 ES 120 70&lt;BR /&gt;CP 165 110 JI 110 40 MC 119 66&lt;BR /&gt;FC 125 76 RW 133 60 KD 108 54&lt;BR /&gt;DS 110 50 JW 130 80 BH 120 65&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;ods excel file="path\aaa.xlsx";&lt;BR /&gt;proc report data=a;&lt;BR /&gt;column _all_;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=b;&lt;BR /&gt;column _all_;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=c;&lt;BR /&gt;column _all_;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 05:06:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319153#M17520</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2016-12-15T05:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319172#M17521</link>
      <description>&lt;PRE&gt;ods excel file="name.xlsx" 
   options(sheet_label="country" );&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;try to use this option,&lt;/P&gt;&lt;P&gt;it will create an sheet with the name which you have mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for more info please refer this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/69832/HTML/default/viewer.htm#p09n5pw9ol0897n1qe04zeur27rv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/69832/HTML/default/viewer.htm#p09n5pw9ol0897n1qe04zeur27rv.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 06:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319172#M17521</guid>
      <dc:creator>Kalind_Patel</dc:creator>
      <dc:date>2016-12-15T06:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319227#M17522</link>
      <description>&lt;P&gt;When I run the code I got the sheet names as following:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"country - Detailed and-or su 1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"country - Detailed and-or su 2"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"country - Detailed and-or su 3".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not what I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want differnt sheet names such as "Report", "Result", "Finding".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 11:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319227#M17522</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2016-12-15T11:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319229#M17523</link>
      <description>&lt;P&gt;Can you provide the code,&lt;/P&gt;&lt;P&gt;which you have submitted ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 11:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319229#M17523</guid>
      <dc:creator>Kalind_Patel</dc:creator>
      <dc:date>2016-12-15T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319347#M17524</link>
      <description>&lt;P&gt;My suggestion would be to use the sheet_name option instead of the sheet_label option.&lt;BR /&gt;&lt;BR /&gt;See the attached example. It doesn't matter whether you use PROC PRINT or PROC REPORT or PROC ... Sheet_name will change the sheet_name.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6393i77521434D555036A/image-size/original?v=v2&amp;amp;px=-1" alt="mult_names.png" title="mult_names.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 18:07:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/319347#M17524</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-12-15T18:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/337984#M18065</link>
      <description>&lt;PRE&gt;ods excel file="YOURS.xlsx" 
   options(sheet_label="Column" );&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:04:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/337984#M18065</guid>
      <dc:creator>BoelterBI</dc:creator>
      <dc:date>2017-03-03T20:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/423806#M20083</link>
      <description>&lt;P&gt;Awesome!&amp;nbsp; Thanks Cynthia.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2017 22:39:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/423806#M20083</guid>
      <dc:creator>mhlundgren</dc:creator>
      <dc:date>2017-12-27T22:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel &amp; multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/425538#M20116</link>
      <description>Hi All,&lt;BR /&gt;Sometimes there are some ways to get the same goal,&lt;BR /&gt;I Will show you other way to get It.&lt;BR /&gt;You can use a new library to Excel file with&lt;BR /&gt;&lt;BR /&gt;LIBNAME MyExcel XLSX "path\name.xlsx";&lt;BR /&gt;&lt;BR /&gt;Then if you have a dataset named "Wombat", you only must to do a data step&lt;BR /&gt;&lt;BR /&gt;DATA MyExcel.Wombat;&lt;BR /&gt;SET Work.Wombat;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;And you can append all sheets that you need with only a data step.&lt;BR /&gt;&lt;BR /&gt;If you any ods in excel, you could merge all in an only Excel file with Excel libraries&lt;BR /&gt;&lt;BR /&gt;Finally you must disconnect all Excel file with.&lt;BR /&gt;&lt;BR /&gt;LIBNAME MyExcel CLEAR;</description>
      <pubDate>Sat, 06 Jan 2018 22:18:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-amp-multiple-sheets/m-p/425538#M20116</guid>
      <dc:creator>jgcasatejada</dc:creator>
      <dc:date>2018-01-06T22:18:52Z</dc:date>
    </item>
  </channel>
</rss>

