<?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: Is it possible to append data using ods excel in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684255#M37005</link>
    <description>&lt;P&gt;You can add multiple sheets to an &lt;A href="https://go.documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;ODS EXCEL destination by using the SHEET_INTERVAL options&lt;/A&gt;.&amp;nbsp; You can break sheets along PROC boundaries, tables, or arbitrary break points within your process by adjusting the SHEET_INTERVAL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, once you close the destination with ODS EXCEL CLOSE, you cannot append the sheet with ODS EXCEL again.&amp;nbsp; ODS EXCEL (open) will always create/write over the XLSX file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But PROC EXPORT can be used to add/replace sheets in an existing workbook.&amp;nbsp; &lt;A href="https://blogs.sas.com/content/sasdummy/2014/09/21/ods-excel-and-proc-export-xlsx/" target="_self"&gt;I have an example of this here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 14:56:31 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2020-09-16T14:56:31Z</dc:date>
    <item>
      <title>Is it possible to append data using ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684247#M37004</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS EG 7.13 , and I need to create an Excel file with two different sheets containing title (see the provided worksheet). I the first sheet will be filled-up first then close.&amp;nbsp; The data will be bring into the second sheet using another sas program ( it is why , I am looking for an append option).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can we do this task with ods or with another one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 14:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684247#M37004</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2020-09-16T14:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to append data using ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684255#M37005</link>
      <description>&lt;P&gt;You can add multiple sheets to an &lt;A href="https://go.documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;ODS EXCEL destination by using the SHEET_INTERVAL options&lt;/A&gt;.&amp;nbsp; You can break sheets along PROC boundaries, tables, or arbitrary break points within your process by adjusting the SHEET_INTERVAL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, once you close the destination with ODS EXCEL CLOSE, you cannot append the sheet with ODS EXCEL again.&amp;nbsp; ODS EXCEL (open) will always create/write over the XLSX file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But PROC EXPORT can be used to add/replace sheets in an existing workbook.&amp;nbsp; &lt;A href="https://blogs.sas.com/content/sasdummy/2014/09/21/ods-excel-and-proc-export-xlsx/" target="_self"&gt;I have an example of this here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 14:56:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684255#M37005</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-09-16T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to append data using ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684259#M37006</link>
      <description>&lt;P&gt;Or you use LIBNAME XLSX and then run a data step or PROC COPY to create the additional sheet.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 14:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684259#M37006</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-16T14:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to append data using ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684327#M37013</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The libname statement is a nice options but I think that I will loose my title1 and title2 into the worksheet.&amp;nbsp; Am I right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 17:39:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684327#M37013</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2020-09-16T17:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to append data using ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684329#M37014</link>
      <description>&lt;P&gt;Correct. PROC EXPORT and LIBNAME XLSX are for data only.&amp;nbsp; ODS EXCEL allows for report elements, including titles, footnotes, graphics, and generate report formatting with colors, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 17:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/684329#M37014</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-09-16T17:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to append data using ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/814025#M40688</link>
      <description>&lt;P&gt;Goodness me, SAS is so limiting.&amp;nbsp; I am forced to use SAS for my current project which is why I am here.&amp;nbsp; Python has multiple ways of doing this easily.&amp;nbsp; Anyone new to SAS, save your time and money and learn Python or R instead.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 10:27:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Is-it-possible-to-append-data-using-ods-excel/m-p/814025#M40688</guid>
      <dc:creator>brb</dc:creator>
      <dc:date>2022-05-18T10:27:44Z</dc:date>
    </item>
  </channel>
</rss>

