<?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: hello i want to import multiple sheets to sas . in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/hello-i-want-to-import-multiple-sheets-to-sas/m-p/541015#M7170</link>
    <description>&lt;P&gt;I strongly advise you, if you have to use Excel at all, to move that data into a .xlsx file.&amp;nbsp; .xls is the very old binary file format MS used to use back in 2000 and before.&amp;nbsp; It shouldn't be used nowadays.&amp;nbsp; Technology has moved on a lot since then, and assuming your SAS version is 9.3 or later you can simplify your process if you xlsx to:&lt;/P&gt;
&lt;PRE&gt;libname tmp xlsx "c:/path/to/file/yourfile.xlsx";

proc copy in=tmp out=work;
run;

libname tmp clear;&lt;/PRE&gt;
&lt;P&gt;You can see the engine in action:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2019 08:56:26 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2019-03-07T08:56:26Z</dc:date>
    <item>
      <title>hello i want to import multiple sheets to sas .</title>
      <link>https://communities.sas.com/t5/SAS-Studio/hello-i-want-to-import-multiple-sheets-to-sas/m-p/541000#M7168</link>
      <description>&lt;P&gt;hello i want to import multiple xls sheets to sas . please guide how to do it ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 05:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/hello-i-want-to-import-multiple-sheets-to-sas/m-p/541000#M7168</guid>
      <dc:creator>Shrutibhatnagar</dc:creator>
      <dc:date>2019-03-07T05:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: hello i want to import multiple sheets to sas .</title>
      <link>https://communities.sas.com/t5/SAS-Studio/hello-i-want-to-import-multiple-sheets-to-sas/m-p/541004#M7169</link>
      <description>Google will reveal how to do this. Using libname-statement and proc copy is one way. Writing a proc import for each sheet is another way. Best thing you could do: export all sheets to CSV and use a data-step to read each. This is imho the only.way to get a reliable importing-process.</description>
      <pubDate>Thu, 07 Mar 2019 06:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/hello-i-want-to-import-multiple-sheets-to-sas/m-p/541004#M7169</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-03-07T06:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: hello i want to import multiple sheets to sas .</title>
      <link>https://communities.sas.com/t5/SAS-Studio/hello-i-want-to-import-multiple-sheets-to-sas/m-p/541015#M7170</link>
      <description>&lt;P&gt;I strongly advise you, if you have to use Excel at all, to move that data into a .xlsx file.&amp;nbsp; .xls is the very old binary file format MS used to use back in 2000 and before.&amp;nbsp; It shouldn't be used nowadays.&amp;nbsp; Technology has moved on a lot since then, and assuming your SAS version is 9.3 or later you can simplify your process if you xlsx to:&lt;/P&gt;
&lt;PRE&gt;libname tmp xlsx "c:/path/to/file/yourfile.xlsx";

proc copy in=tmp out=work;
run;

libname tmp clear;&lt;/PRE&gt;
&lt;P&gt;You can see the engine in action:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 08:56:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/hello-i-want-to-import-multiple-sheets-to-sas/m-p/541015#M7170</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-03-07T08:56:26Z</dc:date>
    </item>
  </channel>
</rss>

