<?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: Exporting results to excel with ODS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Exporting-results-to-excel-with-ODS/m-p/845229#M36797</link>
    <description>&lt;P&gt;First, you should be using an XLSX extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the tables generated between and ODS destination and it's close will go to the ODS destination.&lt;/P&gt;
&lt;P&gt;If you one want one table from a procedure that produces more then you would add an "ODS SELECT &amp;lt;tablename&amp;gt;; statement. Tablename is the specific table output you want. Without knowing the code you ran I can't guess which that would be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can place your procedure code between an ODS Trace on; &amp;lt;proc&amp;gt; ; Ods trace off; pair and the LOG will show the names of all the tables generated by the procedure.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 23:47:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-11-18T23:47:25Z</dc:date>
    <item>
      <title>Exporting results to excel with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Exporting-results-to-excel-with-ODS/m-p/845228#M36796</link>
      <description>&lt;P&gt;I'm currently exporting results of my proc mixed analysis using ODS with the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FILENAME out 'filename.xls';&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods excel file=out;&lt;/P&gt;&lt;P&gt;&amp;lt;code here&amp;gt;&lt;/P&gt;&lt;P&gt;ods excel close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's giving my results in excel format, but each table from my results ends up in a different tab in the excel file.&amp;nbsp; Is it possible to only export one table (i.e. least square means)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 23:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Exporting-results-to-excel-with-ODS/m-p/845228#M36796</guid>
      <dc:creator>stats2555</dc:creator>
      <dc:date>2022-11-18T23:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting results to excel with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Exporting-results-to-excel-with-ODS/m-p/845229#M36797</link>
      <description>&lt;P&gt;First, you should be using an XLSX extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the tables generated between and ODS destination and it's close will go to the ODS destination.&lt;/P&gt;
&lt;P&gt;If you one want one table from a procedure that produces more then you would add an "ODS SELECT &amp;lt;tablename&amp;gt;; statement. Tablename is the specific table output you want. Without knowing the code you ran I can't guess which that would be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can place your procedure code between an ODS Trace on; &amp;lt;proc&amp;gt; ; Ods trace off; pair and the LOG will show the names of all the tables generated by the procedure.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 23:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Exporting-results-to-excel-with-ODS/m-p/845229#M36797</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-11-18T23:47:25Z</dc:date>
    </item>
  </channel>
</rss>

