<?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: Update Excel after I run SAS Script in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737738#M230012</link>
    <description>You can for a CSV but not as easily for an Excel file. Another workaround is to have a SAS dataset that maintains those old values and each day you append the new results to that table and then export it all out again to the new file or replace the full table in the old file.</description>
    <pubDate>Wed, 28 Apr 2021 21:44:24 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-04-28T21:44:24Z</dc:date>
    <item>
      <title>Update Excel after I run SAS Script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737731#M230006</link>
      <description>Hi all, I run SAS script every day. I get a small table like this: Obs County total_cases new_case 1 A 21 0 2 B 2 2 3 C 1 0 I want it to export to excel. On the second day, I run SAS, and I get another output: Obs County total_cases new_case 1 A 22 1 2 B 2 0 3 C 6 5 Can I export the results to the excel I create on the first day? The excel like this, Obs County total_cases new_case 1 A 21 0 2 B 2 2 3 C 1 0 1 A 22 1 2 B 2 0 3 C 6 5 Thank you all! JH</description>
      <pubDate>Wed, 28 Apr 2021 21:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737731#M230006</guid>
      <dc:creator>jhusoc</dc:creator>
      <dc:date>2021-04-28T21:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update Excel after I run SAS Script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737733#M230007</link>
      <description>&lt;P&gt;the format is messed up!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jhusoc_0-1619645202372.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58835iF8153CB6C42965E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jhusoc_0-1619645202372.png" alt="jhusoc_0-1619645202372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 21:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737733#M230007</guid>
      <dc:creator>jhusoc</dc:creator>
      <dc:date>2021-04-28T21:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update Excel after I run SAS Script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737738#M230012</link>
      <description>You can for a CSV but not as easily for an Excel file. Another workaround is to have a SAS dataset that maintains those old values and each day you append the new results to that table and then export it all out again to the new file or replace the full table in the old file.</description>
      <pubDate>Wed, 28 Apr 2021 21:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737738#M230012</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-28T21:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update Excel after I run SAS Script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737888#M230086</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname x excel 'c:\temp\temp.xlsx' SCAN_TEXT=NO;


/*first run*/
data x.sheet1;
 set sashelp.class;
run;

/*second run*/
proc sql;
insert into x.sheet1
select * from sashelp.class;
quit;


/*third run*/
proc sql;
insert into x.sheet1
select * from sashelp.class;
quit;

libname x clear;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Apr 2021 13:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/737888#M230086</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-04-29T13:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update Excel after I run SAS Script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/738411#M230344</link>
      <description>Thank you so much!</description>
      <pubDate>Sun, 02 May 2021 16:11:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Update-Excel-after-I-run-SAS-Script/m-p/738411#M230344</guid>
      <dc:creator>jhusoc</dc:creator>
      <dc:date>2021-05-02T16:11:48Z</dc:date>
    </item>
  </channel>
</rss>

