<?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 ods tagsets.excelxp in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp/m-p/510966#M137510</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In following code I export multiple tables to multiple sheets.&lt;/P&gt;
&lt;P&gt;In sheet1 there will be 2 tables&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In sheet2 there will be 2 tables&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My question is how to tell SAS to locate the tables in following location:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sheet1-table1 will be located from cell A1,table2 will be located from cell A15&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sheet2-table1 will be located from cell A1,t&lt;/SPAN&gt;&lt;SPAN&gt;able&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt; will be located from cell A&lt;/SPAN&gt;&lt;SPAN&gt;15&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Title;
ods tagsets.excelxp file="path/test1.xls" style=minimal
        options(sheet_interval="none"  sheet_name='Sheet1');
proc print data=sashelp.class(obs=5)noobs;
run;
proc print data=sashelp.air(obs=5) noobs;
run;
ods tagsets.excelxp options(sheet_interval="none" sheet_name='Sheet2');
proc print data=sashelp.orsales(obs=5)noobs;
run;
proc print data=sashelp.prdsale(obs=5)noobs;
run;
ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Nov 2018 19:17:35 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2018-11-07T19:17:35Z</dc:date>
    <item>
      <title>ods tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp/m-p/510966#M137510</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In following code I export multiple tables to multiple sheets.&lt;/P&gt;
&lt;P&gt;In sheet1 there will be 2 tables&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In sheet2 there will be 2 tables&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My question is how to tell SAS to locate the tables in following location:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sheet1-table1 will be located from cell A1,table2 will be located from cell A15&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sheet2-table1 will be located from cell A1,t&lt;/SPAN&gt;&lt;SPAN&gt;able&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt; will be located from cell A&lt;/SPAN&gt;&lt;SPAN&gt;15&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Title;
ods tagsets.excelxp file="path/test1.xls" style=minimal
        options(sheet_interval="none"  sheet_name='Sheet1');
proc print data=sashelp.class(obs=5)noobs;
run;
proc print data=sashelp.air(obs=5) noobs;
run;
ods tagsets.excelxp options(sheet_interval="none" sheet_name='Sheet2');
proc print data=sashelp.orsales(obs=5)noobs;
run;
proc print data=sashelp.prdsale(obs=5)noobs;
run;
ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 19:17:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp/m-p/510966#M137510</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-11-07T19:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp/m-p/511211#M137556</link>
      <description>&lt;P&gt;As far as I know you can either&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Use the&amp;nbsp;&lt;SPAN&gt;panel option in ODS MSOFFICE2K&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/msoffice2k/index.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/msoffice2k/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Use the&lt;FONT face="courier new,courier"&gt;&amp;nbsp;start_at&lt;/FONT&gt; option&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt; ods excel options(sheet_name="class" sheet_interval="none" start_at="A2");&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Export to a named range using proc export.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. This might also interest you&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sascommunity.org/mwiki/images/6/6d/1793-2014.pdf" target="_blank"&gt;http://www.sascommunity.org/mwiki/images/6/6d/1793-2014.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 22:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp/m-p/511211#M137556</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-11-07T22:04:28Z</dc:date>
    </item>
  </channel>
</rss>

