<?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: ods tagsets.excelxp to a specific cell in an excel sheet in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234580#M14667</link>
    <description>&lt;P&gt;Oh, then thats simply the options part, sorry, was thinking it was complicated:&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp file="outputfile.xml" options=(sheet_interval=none);&lt;/P&gt;
&lt;P&gt;proc tabulate data...;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;proc tabulate data...;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You really don't want to use DDE, its pretty old and may/may not be supported, plus wouldn't have a lot of functionality anyways.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2015 12:48:35 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-11-13T12:48:35Z</dc:date>
    <item>
      <title>ods tagsets.excelxp to a specific cell in an excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234560#M14660</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to make several proc table and then have the two tables in the &lt;STRONG&gt;same&lt;/STRONG&gt; excel sheet that is I want to control which &lt;STRONG&gt;cell&lt;/STRONG&gt; in the same excel (tab) sheet I put the two tables in. I am using&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.excelxp to output the tables to excel.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Does anybody know how to do that ? &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 10:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234560#M14660</guid>
      <dc:creator>AnetteD</dc:creator>
      <dc:date>2015-11-13T10:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp to a specific cell in an excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234562#M14661</link>
      <description>&lt;P&gt;It depends on which way round you want to do it. &amp;nbsp;If you feel more comforatble in SAS then create datset exactly as you want the output Excel file to look like, i.e. combine your current two tables into one, and have the data at the equivalent row you want. &amp;nbsp;Then report that. &amp;nbsp;I.e.&lt;/P&gt;
&lt;P&gt;table1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VAR1 &amp;nbsp;VAR2&lt;/P&gt;
&lt;P&gt;a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b&lt;/P&gt;
&lt;P&gt;a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;table2&lt;/P&gt;
&lt;P&gt;VAR1 &amp;nbsp;VAR2&lt;/P&gt;
&lt;P&gt;f &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g&lt;/P&gt;
&lt;P&gt;f &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;h&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I want to have the table 2 data at row 6 instead of row 4:&lt;/P&gt;
&lt;P&gt;final_table&lt;/P&gt;
&lt;P&gt;VAR1 &amp;nbsp;VAR2&lt;/P&gt;
&lt;P&gt;a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b&lt;/P&gt;
&lt;P&gt;a &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c&lt;/P&gt;
&lt;P&gt;&amp;lt;missing&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;missing&amp;gt;&lt;/P&gt;
&lt;P&gt;f &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g&lt;/P&gt;
&lt;P&gt;f &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;h&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;f will then start at row 6. &amp;nbsp;Alternatively you can proc report both datasets with an option of the ods tagsets.excelxp options=(sheet_interval=none);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note however that control over placing is limited.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another alternative, which gives you more control, is to output the data from SAS as CSV. &amp;nbsp;Now create an Excel template file which looks exactly as you want, and write a small VBA macro to read the CSV file and put the data where you want.&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>Fri, 13 Nov 2015 11:02:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234562#M14661</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-11-13T11:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp to a specific cell in an excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234576#M14666</link>
      <description>&lt;P&gt;Thanks for quick reply. I dont think it solves my problem though as I have &lt;EM&gt;two&lt;/EM&gt; different datasets that I am proc tabulating on. I then want the proc tabulate output table 1 and table 2 to go into the same (tab) excel sheet. See attached excel sheet for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I am googling on the net it looks like I have to use DDE, but I hope there is a simpler way&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 12:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234576#M14666</guid>
      <dc:creator>AnetteD</dc:creator>
      <dc:date>2015-11-13T12:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp to a specific cell in an excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234580#M14667</link>
      <description>&lt;P&gt;Oh, then thats simply the options part, sorry, was thinking it was complicated:&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp file="outputfile.xml" options=(sheet_interval=none);&lt;/P&gt;
&lt;P&gt;proc tabulate data...;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;proc tabulate data...;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You really don't want to use DDE, its pretty old and may/may not be supported, plus wouldn't have a lot of functionality anyways.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 12:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-excelxp-to-a-specific-cell-in-an-excel-sheet/m-p/234580#M14667</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-11-13T12:48:35Z</dc:date>
    </item>
  </channel>
</rss>

