<?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: Placing Multiple Tables in Same Excel Sheet via ODS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431984#M20288</link>
    <description>&lt;P&gt;If you're using a Microsoft Window's system you can do it with the macro you can download from:&amp;nbsp;&lt;A href="http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export" target="_blank"&gt;http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&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;</description>
    <pubDate>Mon, 29 Jan 2018 21:54:51 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2018-01-29T21:54:51Z</dc:date>
    <item>
      <title>Placing Multiple Tables in Same Excel Sheet via ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431980#M20285</link>
      <description>&lt;P&gt;I need to be able to place small datasets into the SAME excel spreadsheet at specific locations within that sheet. I have tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods listing close;
ods html close;
goptions device=actximg;
%let dat = %sysfunc(today(),yymmdd6.);

ods excel file="h:\temp.xlsx";
ods excel options(embedded_titles="no" start_at="5,5" sheet_name="Sheet1" sheet_interval="none");
 
proc print data=EGTASK.NEW_PAIRS_FINAL;
title "Expense Report Year 2016";
run;

ods excel options (embedded_titles="no" start_at="50,30" sheet_name="Sheet1");
proc print data=EGTASK.NEW_PAIRS_FINAL;
title "Expense Report Year 2016";
run;
 
ods excel close;&lt;/PRE&gt;&lt;P&gt;It will place the first table in 5,5 as asked, but it will place the second table right under it (one line separating them) instead of 50,30. We need to place these at specific cells on the same sheet. Can this be done? Not sure what to do in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 21:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431980#M20285</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2018-01-29T21:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Multiple Tables in Same Excel Sheet via ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431981#M20286</link>
      <description>&lt;P&gt;You can if your tables go down (linear) but if you want side by side tables that won't fly with ODS EXCEL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 21:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431981#M20286</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-29T21:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Multiple Tables in Same Excel Sheet via ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431984#M20288</link>
      <description>&lt;P&gt;If you're using a Microsoft Window's system you can do it with the macro you can download from:&amp;nbsp;&lt;A href="http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export" target="_blank"&gt;http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&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;</description>
      <pubDate>Mon, 29 Jan 2018 21:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431984#M20288</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-01-29T21:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Multiple Tables in Same Excel Sheet via ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431985#M20289</link>
      <description>Can this be done with another method? DDE?&lt;BR /&gt;&lt;BR /&gt;Also, with respect to my example above, 50,30 won't work but 5,30 would? Thx</description>
      <pubDate>Mon, 29 Jan 2018 21:56:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431985#M20289</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2018-01-29T21:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Multiple Tables in Same Excel Sheet via ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431986#M20290</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/142314"&gt;@BCNAV&lt;/a&gt; wrote:&lt;BR /&gt;Can this be done with another method? DDE?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, but DDE is a pain. The documentation for DDE has an example on how to write data out and someone else just had a DDE question and their code is mostly correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13711"&gt;@art297&lt;/a&gt;&amp;nbsp;macro is another really good option as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For custom reports like that, I usually do a mix.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I create an Excel template with the data in the linear form and then link the table data over to the displayed view, so how I export the data isn't really relevant. This works with reports that have consistent structure and you have a good idea of the number of rows/tables/graphs that are needed ahead of time.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 22:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/431986#M20290</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-29T22:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Multiple Tables in Same Excel Sheet via ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/521712#M22106</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/142314"&gt;@BCNAV&lt;/a&gt;,&lt;BR /&gt;I am facing the same problem that you posted here.&lt;BR /&gt;I am really searching answer for this Question so long ago. Could you please answer me if you done that.</description>
      <pubDate>Sat, 15 Dec 2018 13:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-Multiple-Tables-in-Same-Excel-Sheet-via-ODS/m-p/521712#M22106</guid>
      <dc:creator>anjicam</dc:creator>
      <dc:date>2018-12-15T13:10:19Z</dc:date>
    </item>
  </channel>
</rss>

