<?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 from one excel workbook. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202644#M15208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why use Excel at all.&amp;nbsp; It is not a data transfer format.&amp;nbsp; I would suggest you check the source, likely to be a database, and ask them to export one CSV file which you can then easily import.&amp;nbsp; Basically your doing extra work just to cover the fact that the data is in excel, what happens when something goes wrong - i.e. Excel hides certain information, or doesn't represent it correctly, then it will end up as your fault.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 08:27:45 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-07-15T08:27:45Z</dc:date>
    <item>
      <title>Import multiple sheets from one excel workbook.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202642#M15206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand if there is a way to write a macro or code that would import multiple excel sheets from one workbook.&amp;nbsp;&amp;nbsp; Currently we use SAS EG, the server is SASApp as it is located on a remote server that runs linux.&amp;nbsp; The file(s) that I would import from are also located on that same server.&amp;nbsp; I am trying to set this up within the code as opposed to using the import step as we use LSF to auto run our codes.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each month there will be a excel workbook for the month's data.&amp;nbsp; Based on the amount of data it can vary in size(one month it could have 3 sheets the next month 5).&amp;nbsp; I would like to be able to have this run on the SASApp and import all the sheets within the workbook into one table.&amp;nbsp; I can not seem to find a method for varying number of sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 18:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202642#M15206</guid>
      <dc:creator>Sotarkadin</dc:creator>
      <dc:date>2015-07-14T18:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import multiple sheets from one excel workbook.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202643#M15207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be able to import Excel workbooks in code you need to have installed and licensed the SAS product SAS/ACCESS to PC Files. In EG you can easily check this by viewing the Properties of your SASApp server in Server List.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also since you are running on Linux, you will also need to have the SAS PC File Server installed, configured and working on a Windows server / computer that can communicate with your Linux server. I believe this is a free download.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:13:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202643#M15207</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-07-15T08:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Import multiple sheets from one excel workbook.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202644#M15208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why use Excel at all.&amp;nbsp; It is not a data transfer format.&amp;nbsp; I would suggest you check the source, likely to be a database, and ask them to export one CSV file which you can then easily import.&amp;nbsp; Basically your doing extra work just to cover the fact that the data is in excel, what happens when something goes wrong - i.e. Excel hides certain information, or doesn't represent it correctly, then it will end up as your fault.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202644#M15208</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-07-15T08:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Import multiple sheets from one excel workbook.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202645#M15209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using Libname we can bring all the spreadsheets in excel workbook to SAS environment in the form of datasets.&lt;/P&gt;&lt;P&gt;The spreadsheets names will be the Dataset names followed by $.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if Sample.xls is the workbook that consists of Acc, AccNums, CustIds as spreadsheets then if you use libname statement then &lt;SPAN style="font-size: 13.3333330154419px;"&gt; Acc$, AccNums$, CustIds$&lt;/SPAN&gt; will be the dataset names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Libname Libref Excel "Path\Sample.xls";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Libref is a user defined name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 09:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Import-multiple-sheets-from-one-excel-workbook/m-p/202645#M15209</guid>
      <dc:creator>MadhuKorni</dc:creator>
      <dc:date>2015-07-15T09:28:52Z</dc:date>
    </item>
  </channel>
</rss>

