<?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: Import multiple sheets in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Import-multiple-sheets/m-p/228437#M54280</link>
    <description>&lt;P&gt;If you have SAS 9.4M2 or later, LIBNAME XLSX is quick and easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_self"&gt;Using LIBNAME XLSX to read and write Excel files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This assumes that your Excel data is well-formed: column headers in Row 1, contiguous data in each sheet.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Chris&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2015 14:20:54 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2015-10-05T14:20:54Z</dc:date>
    <item>
      <title>Import multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-multiple-sheets/m-p/228430#M54279</link>
      <description>&lt;P&gt;&amp;nbsp;What is the easiest way to import multiple sheets into SAS ?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 14:05:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-multiple-sheets/m-p/228430#M54279</guid>
      <dc:creator>K23</dc:creator>
      <dc:date>2015-10-05T14:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Import multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-multiple-sheets/m-p/228437#M54280</link>
      <description>&lt;P&gt;If you have SAS 9.4M2 or later, LIBNAME XLSX is quick and easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_self"&gt;Using LIBNAME XLSX to read and write Excel files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This assumes that your Excel data is well-formed: column headers in Row 1, contiguous data in each sheet.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 14:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-multiple-sheets/m-p/228437#M54280</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-10-05T14:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Import multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-multiple-sheets/m-p/228438#M54281</link>
      <description>&lt;P&gt;Fold them up and insert them into the floppy bay? &amp;nbsp;Seriously though, I am presuming your using Windows, Base SAS? &amp;nbsp;The quickest method would be to use libname excel, this creates a libname where you can see each sheet in the file. &amp;nbsp;However bear in mind that SAS != Excel. &amp;nbsp;There is a lot in Excel that SAS will not like, and Excel is not a structured file. &amp;nbsp;You will hit a lot of problems. &amp;nbsp;The question should be raised, why is Excel holding your data when it is neither a database or a proper data transfer format? &amp;nbsp;Even exporting to CSV would be far better. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for your question, without knowledge of what is on each sheet, its difficult to say. &amp;nbsp;You could save to CSV each sheet, write a datastep + infile import procedure. &amp;nbsp;You could try proc import, changing the sheet-name option each time, though that is a "guessing" procedure, so no guarentees what you will get out is what you want etc. What code have you got now?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 14:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-multiple-sheets/m-p/228438#M54281</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-10-05T14:24:16Z</dc:date>
    </item>
  </channel>
</rss>

