<?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: How to import a 2003 excel file with password into SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79430#M22871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="11913" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 16:39:17 GMT</pubDate>
    <dc:creator>Haikuo</dc:creator>
    <dc:date>2012-07-31T16:39:17Z</dc:date>
    <item>
      <title>How to import a 2003 excel file with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79429#M22870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem to import an excel 2003(.xls) file with password&amp;nbsp; into SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose the file's full location and name is c:\temp\aaa.xls,,,, password is "abc"&amp;nbsp; ,,,,, and sheet's name is "sheet1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone could tell me how to write SAS code to import this file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the excel file .password is "abc".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT &lt;BR /&gt;OUT= need&lt;BR /&gt;DATAFILE= "c:\temp\aaa.xls"&lt;BR /&gt;DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P&gt;SHEET="sheet1$";&lt;/P&gt;&lt;P&gt;GETNAMES=YES; &lt;BR /&gt;MIXED=YES; &lt;BR /&gt;USEDATE=YES; &lt;BR /&gt;SCANTIME=YES; &lt;BR /&gt;SCANTEXT=YES;&lt;BR /&gt;password='abc';/*This part does&amp;nbsp; not work*/&lt;BR /&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 16:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79429#M22870</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-07-31T16:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a 2003 excel file with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79430#M22871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="11913" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 16:39:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79430#M22871</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-07-31T16:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a 2003 excel file with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79431#M22872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have searched this topic before post my question ,but I don't understand&amp;nbsp; well on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 17:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79431#M22872</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-07-31T17:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a 2003 excel file with password into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79432#M22873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is that SAS does not have a PASSWORD= option, so you need to use one of the work around methods mentioned in the thread linked by haikuo bian above.&amp;nbsp; Read the thread and the papers that are linked in that thread.&lt;/P&gt;&lt;P&gt;If you still have detailed questions then ask them. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 17:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-import-a-2003-excel-file-with-password-into-SAS/m-p/79432#M22873</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-07-31T17:04:21Z</dc:date>
    </item>
  </channel>
</rss>

