<?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 Error in importing excel files in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Error-in-importing-excel-files/m-p/687040#M24497</link>
    <description>&lt;P&gt;I have been trying to import an excel file through open grogram means but it keeps encrypting the file and shows like this picture below. help anyone please&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49843i4DBF3C3DA501C1B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Sep 2020 14:28:14 GMT</pubDate>
    <dc:creator>obi1-design</dc:creator>
    <dc:date>2020-09-27T14:28:14Z</dc:date>
    <item>
      <title>Error in importing excel files</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-in-importing-excel-files/m-p/687040#M24497</link>
      <description>&lt;P&gt;I have been trying to import an excel file through open grogram means but it keeps encrypting the file and shows like this picture below. help anyone please&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49843i4DBF3C3DA501C1B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 14:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-in-importing-excel-files/m-p/687040#M24497</guid>
      <dc:creator>obi1-design</dc:creator>
      <dc:date>2020-09-27T14:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in importing excel files</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-in-importing-excel-files/m-p/687041#M24498</link>
      <description>&lt;P&gt;SAS programs are plain text files, XLSX files are ZIP archives of XML data.&lt;/P&gt;
&lt;P&gt;You cannot open Excel files as programs, you need to import them as data.&lt;/P&gt;
&lt;P&gt;Since you seem to have a locally installed SAS, you can import the Excel data with PROC IMPORT, which you need to write in a program window.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 14:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-in-importing-excel-files/m-p/687041#M24498</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-27T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in importing excel files</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Error-in-importing-excel-files/m-p/687042#M24499</link>
      <description>&lt;P&gt;You cannot open a spreadsheet as if it is a text file. What you are seeing in the program editor are just the binary bytes of the file interpreted as if they were text.&lt;/P&gt;
&lt;P&gt;You can import an XLSX file into dataset(s).&amp;nbsp; There is a GUI tool for that (not the Explorer tool you are using). But it is generally easier to write the code yourself.&amp;nbsp; For example just create a libref using the XLSX engine pointing to the&amp;nbsp; file. Then you can read each sheet as a dataset. To copy all of the sheets to dataset you might want to just use PROC COPY.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname in xlsx '....\Customer_loan_data.xlsx' accress=readonly;
proc copy inlib=in outlib=work;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Sep 2020 14:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Error-in-importing-excel-files/m-p/687042#M24499</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-27T14:50:26Z</dc:date>
    </item>
  </channel>
</rss>

