<?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 Excel output in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-output/m-p/626539#M35579</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I run 4 different proc reports and I get 4 different results. I want the results to be sent to one Excel file but on different tabs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible in SAS EG? and how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nazanin&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 19:23:32 GMT</pubDate>
    <dc:creator>NazaninSAS</dc:creator>
    <dc:date>2020-02-21T19:23:32Z</dc:date>
    <item>
      <title>Excel output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-output/m-p/626539#M35579</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I run 4 different proc reports and I get 4 different results. I want the results to be sent to one Excel file but on different tabs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible in SAS EG? and how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nazanin&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 19:23:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-output/m-p/626539#M35579</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2020-02-21T19:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-output/m-p/626674#M35580</link>
      <description>&lt;P&gt;Yes, but...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't find a way to do it using the EG point-and-click features. It's very easy to do in a code window. First, you have to turn off all of the result options in Tools -&amp;gt; Options -&amp;gt; the Results tab. Then submit code looking something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods excel file="C:\Some Directory\SASTest.xlsx" style=EGDefault options(embedded_titles="no" embedded_footnotes="no" sheet_interval="proc");

proc print data=sashelp.class;
run;

proc means data=sashelp.cars;
	class make;
	var cylinders;
run;

proc tabulate data=sashelp.shoes;
	class region;
	var sales;

	table region, sales*sum;
run;

ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In your case, if you're comfortable, you can just grab the code generated in your 4 proc reports, and drop them into a program together.&lt;/P&gt;
&lt;P&gt;Hopefully, someone a bit better with ODS will have a better suggestion.&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 21:54:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-output/m-p/626674#M35580</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2020-02-22T21:54:10Z</dc:date>
    </item>
  </channel>
</rss>

