<?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 sheets in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402646#M19563</link>
    <description>&lt;P&gt;I run this code in order to get to sheets (sheet1, sheet2).&lt;/P&gt;&lt;P&gt;But I got for each table a seperate sheet!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="/usr/local/SAS/MidulOld/UserDir/Ron.xls"&lt;/P&gt;&lt;P&gt;/*Sheet1*/&lt;BR /&gt;options(sheet_name='Sheet1' panelcols="3") ;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3)noobs;&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="CANADA";&lt;BR /&gt;title "Canada Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3)noobs;&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="U.S.A.";&lt;BR /&gt;title "USA Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3)noobs;&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="GERMANY";&lt;BR /&gt;title "Germany Sales";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/*Sheet2*/&lt;BR /&gt;ods tagsets.excelxp options(sheet_name='Sheet2' panelcols="2");&lt;BR /&gt;proc print data=sashelp.prdsale (obs=3)noobs ;&lt;BR /&gt;where region="EAST";&lt;BR /&gt;title "East Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale (obs=3)noobs;&lt;BR /&gt;where region="WEST";&lt;BR /&gt;title "West Sales";&lt;BR /&gt;run;&lt;BR /&gt;ods tagsets.excelxp close;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 08:51:41 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2017-10-10T08:51:41Z</dc:date>
    <item>
      <title>export to multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402629#M19559</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;This code export 5 tables to one excel sheet and put them as a panel (3 side by side and then 2 side by side).&lt;/P&gt;&lt;P&gt;I want to adjust the code to export 3 tables to "sheet1" &amp;nbsp;that will be side by side and 2 tables to "sheet2"&amp;nbsp;that will be side by side&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/*Create panel of tables in one excel file and one sheet*/&lt;/P&gt;&lt;P&gt;ods tagsets.msoffice2k_x&lt;BR /&gt;file="/usr/local/SAS/MidulOld/UserDir/Ron.xls"&lt;BR /&gt;options(panelcols="3")&lt;BR /&gt;style=normal;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3);&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="CANADA";&lt;BR /&gt;title "Canada Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3);&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="U.S.A.";&lt;BR /&gt;title "USA Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3);&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="GERMANY";&lt;BR /&gt;title "Germany Sales";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.msoffice2k_x&lt;BR /&gt;options(panelcols="2") ;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3);&lt;BR /&gt;where region="EAST";&lt;BR /&gt;title "East Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3);&lt;BR /&gt;where region="WEST";&lt;BR /&gt;title "West Sales";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.msoffice2k_x close;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 07:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402629#M19559</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2017-10-10T07:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402634#M19561</link>
      <description>&lt;P&gt;You can either have panelcols in HTML with tagsets.msoffice2k_x, or sheet_name in XML with tagsets.excelxp.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 07:40:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402634#M19561</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-10T07:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402644#M19562</link>
      <description>&lt;P&gt;Can you please send a code and we will see together that it works.&lt;/P&gt;&lt;P&gt;I tried to do what you said but it didn't work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402644#M19562</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2017-10-10T08:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402646#M19563</link>
      <description>&lt;P&gt;I run this code in order to get to sheets (sheet1, sheet2).&lt;/P&gt;&lt;P&gt;But I got for each table a seperate sheet!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="/usr/local/SAS/MidulOld/UserDir/Ron.xls"&lt;/P&gt;&lt;P&gt;/*Sheet1*/&lt;BR /&gt;options(sheet_name='Sheet1' panelcols="3") ;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3)noobs;&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="CANADA";&lt;BR /&gt;title "Canada Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3)noobs;&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="U.S.A.";&lt;BR /&gt;title "USA Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale(obs=3)noobs;&lt;BR /&gt;var actual predict country region;&lt;BR /&gt;where country="GERMANY";&lt;BR /&gt;title "Germany Sales";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/*Sheet2*/&lt;BR /&gt;ods tagsets.excelxp options(sheet_name='Sheet2' panelcols="2");&lt;BR /&gt;proc print data=sashelp.prdsale (obs=3)noobs ;&lt;BR /&gt;where region="EAST";&lt;BR /&gt;title "East Sales";&lt;BR /&gt;run;&lt;BR /&gt;proc print data=sashelp.prdsale (obs=3)noobs;&lt;BR /&gt;where region="WEST";&lt;BR /&gt;title "West Sales";&lt;BR /&gt;run;&lt;BR /&gt;ods tagsets.excelxp close;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402646#M19563</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2017-10-10T08:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402659#M19565</link>
      <description>&lt;P&gt;panelcols does not work in tagsets.excelxp. Use my code provided in the other thread to create a side-by-side dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 10:57:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/402659#M19565</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-10T10:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/403063#M19576</link>
      <description>&lt;P&gt;Where can i find your code?I don't understand you&lt;/P&gt;&lt;P&gt;you said "&lt;SPAN&gt;Use my code provided in the other thread to create a side-by-side dataset."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where is it please?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 08:48:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/403063#M19576</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2017-10-11T08:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: export to multiple sheets</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/403092#M19578</link>
      <description>&lt;P&gt;Its this post: &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-excel-with-special-needs/m-p/402615#M19558" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-excel-with-special-needs/m-p/402615#M19558&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 10:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-multiple-sheets/m-p/403092#M19578</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-11T10:48:29Z</dc:date>
    </item>
  </channel>
</rss>

