<?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 Import all Excel files in a folder and add all to 1 final file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395191#M95257</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;I have 1 folder with multiple Excel (xlsx) files with random name.&lt;/P&gt;
&lt;P&gt;I want to import all of them and put to a final file.&lt;/P&gt;
&lt;P&gt;Can anyone help me how to get it done?&lt;/P&gt;
&lt;P&gt;My idea is below.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;HC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="C:\Users\document\*.xlsx"
out=_tempfile dbms=xlsx replace;
getnames=yes;
run;

data final; set final _tempfile;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 12 Sep 2017 17:58:52 GMT</pubDate>
    <dc:creator>hhchenfx</dc:creator>
    <dc:date>2017-09-12T17:58:52Z</dc:date>
    <item>
      <title>Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395191#M95257</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;I have 1 folder with multiple Excel (xlsx) files with random name.&lt;/P&gt;
&lt;P&gt;I want to import all of them and put to a final file.&lt;/P&gt;
&lt;P&gt;Can anyone help me how to get it done?&lt;/P&gt;
&lt;P&gt;My idea is below.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;HC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="C:\Users\document\*.xlsx"
out=_tempfile dbms=xlsx replace;
getnames=yes;
run;

data final; set final _tempfile;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Sep 2017 17:58:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395191#M95257</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2017-09-12T17:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395196#M95261</link>
      <description>&lt;P&gt;Not a particular efficient solution, especially in terms of getting all the files but the rest is about the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/Import_all_files_one_type" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/Import_all_files_one_type&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 18:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395196#M95261</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-12T18:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395236#M95274</link>
      <description>&lt;P&gt;It works nicely.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;HC&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 19:09:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395236#M95274</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2017-09-12T19:09:18Z</dc:date>
    </item>
  </channel>
</rss>

