<?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 export to specific excel sheet from unix without overwriting file? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-specific-excel-sheet-from-unix-without-overwriting/m-p/334495#M17984</link>
    <description>&lt;P&gt;Is there a way to export to a specific worksheet from UNIX, and not destroy the entire workbook in the process?&amp;nbsp; I am basically trying to replace the 'data' worksheet in a workbook, but keep the pivot layout?&amp;nbsp; This code works to export to my directory, but the sheets besides the 'Data' sheet are gone (because SAS is creating a completely new xlsx file?&amp;nbsp; Otherwise I guess I need to rsubmit to a windows sas instance?&amp;nbsp; Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;proc&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;export&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=data_file&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=xlsx &lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;replace&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;outfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;'/test/text.xlsx'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;sheet&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;=Data;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2017 22:53:34 GMT</pubDate>
    <dc:creator>birdcity</dc:creator>
    <dc:date>2017-02-20T22:53:34Z</dc:date>
    <item>
      <title>export to specific excel sheet from unix without overwriting file?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-specific-excel-sheet-from-unix-without-overwriting/m-p/334495#M17984</link>
      <description>&lt;P&gt;Is there a way to export to a specific worksheet from UNIX, and not destroy the entire workbook in the process?&amp;nbsp; I am basically trying to replace the 'data' worksheet in a workbook, but keep the pivot layout?&amp;nbsp; This code works to export to my directory, but the sheets besides the 'Data' sheet are gone (because SAS is creating a completely new xlsx file?&amp;nbsp; Otherwise I guess I need to rsubmit to a windows sas instance?&amp;nbsp; Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;proc&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;export&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=data_file&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=xlsx &lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;replace&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;outfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;'/test/text.xlsx'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;sheet&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;=Data;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 22:53:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-specific-excel-sheet-from-unix-without-overwriting/m-p/334495#M17984</guid>
      <dc:creator>birdcity</dc:creator>
      <dc:date>2017-02-20T22:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: export to specific excel sheet from unix without overwriting file?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-specific-excel-sheet-from-unix-without-overwriting/m-p/334496#M17985</link>
      <description>&lt;P&gt;Use libname xlsx, you can then write a sheet as if it was a dataset.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 22:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-specific-excel-sheet-from-unix-without-overwriting/m-p/334496#M17985</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-20T22:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: export to specific excel sheet from unix without overwriting file?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-specific-excel-sheet-from-unix-without-overwriting/m-p/334501#M17986</link>
      <description>&lt;P&gt;wow thats great &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 23:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/export-to-specific-excel-sheet-from-unix-without-overwriting/m-p/334501#M17986</guid>
      <dc:creator>birdcity</dc:creator>
      <dc:date>2017-02-20T23:06:18Z</dc:date>
    </item>
  </channel>
</rss>

