<?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 How to import multiple excel files residing in a SAS folder? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-multiple-excel-files-residing-in-a-SAS-folder/m-p/133647#M10836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently I import daily excel files with different dates and then merge them into one big montlhy file. I read on the forum that I can use a macro to automate the process. I am not well versed with macro's, can somebody please shed some light? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;File - 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Proc IMPORT OUT= Test1&amp;nbsp; &lt;/P&gt;&lt;P&gt;DATAFILE= "/sas/data_20131101.xls"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; DBMS=xls REPLACE;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; sheet = 7061_newdata;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;GETNAMES=YES; MIXED=YES;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;File - 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Proc IMPORT OUT= Test1&amp;nbsp; &lt;/P&gt;&lt;P&gt;DATAFILE= "/sas/data_20131102.xls"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; DBMS=xls REPLACE;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; sheet = 7061_newdata;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;GETNAMES=YES; MIXED=YES; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 21:17:14 GMT</pubDate>
    <dc:creator>Rish</dc:creator>
    <dc:date>2013-11-06T21:17:14Z</dc:date>
    <item>
      <title>How to import multiple excel files residing in a SAS folder?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-multiple-excel-files-residing-in-a-SAS-folder/m-p/133647#M10836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently I import daily excel files with different dates and then merge them into one big montlhy file. I read on the forum that I can use a macro to automate the process. I am not well versed with macro's, can somebody please shed some light? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;File - 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Proc IMPORT OUT= Test1&amp;nbsp; &lt;/P&gt;&lt;P&gt;DATAFILE= "/sas/data_20131101.xls"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; DBMS=xls REPLACE;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; sheet = 7061_newdata;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;GETNAMES=YES; MIXED=YES;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;File - 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Proc IMPORT OUT= Test1&amp;nbsp; &lt;/P&gt;&lt;P&gt;DATAFILE= "/sas/data_20131102.xls"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; DBMS=xls REPLACE;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; sheet = 7061_newdata;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;GETNAMES=YES; MIXED=YES; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 21:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-multiple-excel-files-residing-in-a-SAS-folder/m-p/133647#M10836</guid>
      <dc:creator>Rish</dc:creator>
      <dc:date>2013-11-06T21:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to import multiple excel files residing in a SAS folder?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-multiple-excel-files-residing-in-a-SAS-folder/m-p/133648#M10837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's some macros on the support.sas.com site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So googling will find you answers &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example for TXT files, perhaps you can modify it for Excel files.&amp;nbsp; But I'm pretty sure there's one specifically for Excel on there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/24/707.html" title="http://support.sas.com/kb/24/707.html"&gt;24707 - Reading multiple files with PROC IMPORT&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 22:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-multiple-excel-files-residing-in-a-SAS-folder/m-p/133648#M10837</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-11-06T22:34:47Z</dc:date>
    </item>
  </channel>
</rss>

