<?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 Exporting output to a particular sheet in XL. by  using ods in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Exporting-output-to-a-particular-sheet-in-XL-by-using-ods/m-p/75440#M21888</link>
    <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
  I have a excel sheet by name Report now i want to export another output to that Report .xls file(in to another sheet2.)in ods.How can i do it

Message was edited by: Michel_SAS</description>
    <pubDate>Wed, 25 Feb 2009 12:12:37 GMT</pubDate>
    <dc:creator>R_Win</dc:creator>
    <dc:date>2009-02-25T12:12:37Z</dc:date>
    <item>
      <title>Exporting output to a particular sheet in XL. by  using ods</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Exporting-output-to-a-particular-sheet-in-XL-by-using-ods/m-p/75440#M21888</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
  I have a excel sheet by name Report now i want to export another output to that Report .xls file(in to another sheet2.)in ods.How can i do it

Message was edited by: Michel_SAS</description>
      <pubDate>Wed, 25 Feb 2009 12:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Exporting-output-to-a-particular-sheet-in-XL-by-using-ods/m-p/75440#M21888</guid>
      <dc:creator>R_Win</dc:creator>
      <dc:date>2009-02-25T12:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting output to a particular sheet in XL. by  using ods</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Exporting-output-to-a-particular-sheet-in-XL-by-using-ods/m-p/75441#M21889</link>
      <description>Hi:&lt;BR /&gt;
  I believe that the only ways you can ADD a worksheet to an existing workbook are to use the LIBNAME engine or PROC EXPORT. If you use ODS TAGSETS.EXCELXP, ODS CSV, or ODS HTML, the entire file (what you put in the FILE= option of ODS) is overwritten with the new report information.&lt;BR /&gt;
    &lt;BR /&gt;
  One approach, then is to recreate the entire workbook -- both the existing worksheet named Report (assuming you created it with SAS) and the new worksheet. If you were using BY group processing, this would be as easy as adding BY BYVARIABLE to your procedure syntax and then each bygroup would get a separate worksheet.&lt;BR /&gt;
           &lt;BR /&gt;
  Otherwise, I have heard some folks read the first sheet into SAS and then write it back out along with any new information to the same named workbook.&lt;BR /&gt;
  Some useful papers that talk about using TAGSETS.EXCELXP:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/papers/sgf07/sgf2007-excel.pdf" target="_blank"&gt;http://support.sas.com/rnd/papers/sgf07/sgf2007-excel.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/forum2008/192-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/192-2008.pdf&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 25 Feb 2009 15:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Exporting-output-to-a-particular-sheet-in-XL-by-using-ods/m-p/75441#M21889</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-02-25T15:15:08Z</dc:date>
    </item>
  </channel>
</rss>

