<?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 excel file from the web in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/import-excel-file-from-the-web/m-p/134160#M260880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works now. Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Hong, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2013 22:01:27 GMT</pubDate>
    <dc:creator>vxhong17</dc:creator>
    <dc:date>2013-05-15T22:01:27Z</dc:date>
    <item>
      <title>import excel file from the web</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-excel-file-from-the-web/m-p/134158#M260878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I want to import an excel file from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www2.census.gov/acs2005/Tables_Profiles_Subject_Tables/010Nation/United"&gt;http://www2.census.gov/acs2005/Tables_Profiles_Subject_Tables/010Nation/United&lt;/A&gt;&lt;SPAN&gt; States.xls into SAS. I used the following code. However, It did not work. Could anyone help me out? Thank you so much!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FILENAME website url "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www2.census.gov/acs2005/Tables_Profiles_Subject_Tables/010Nation/United"&gt;http://www2.census.gov/acs2005/Tables_Profiles_Subject_Tables/010Nation/United&lt;/A&gt;&lt;SPAN&gt; States.xls" debug;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data file;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; n=-1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; infile website recfm=s nbyte=n length=len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; file&amp;nbsp; "United States.xls" recfm=n;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; put _infile_ $varying32767. len;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT= input DATAFILE= "United States.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=xls REPLACE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHEET="Base Tables"; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GETNAMES=YES;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 22:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-excel-file-from-the-web/m-p/134158#M260878</guid>
      <dc:creator>vxhong17</dc:creator>
      <dc:date>2013-05-14T22:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: import excel file from the web</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-excel-file-from-the-web/m-p/134159#M260879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using a slightly &lt;STRONG&gt;changed&lt;/STRONG&gt; URL in your &lt;SPAN style="font-family: 'courier new', courier;"&gt;filename&lt;/SPAN&gt; statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;FILENAME website url "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www2.census.gov/acs2005/Tables_Profiles_Subject_Tables/010Nation/United"&gt;http://www2.census.gov/acs2005/Tables_Profiles_Subject_Tables/010Nation/United&lt;/A&gt;&lt;STRONG&gt;%20&lt;/STRONG&gt;States.xls" debug;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that does not work then please explain what you meant by "did not work" and share your log with any error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 12:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-excel-file-from-the-web/m-p/134159#M260879</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2013-05-15T12:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: import excel file from the web</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-excel-file-from-the-web/m-p/134160#M260880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works now. Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Hong, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 22:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-excel-file-from-the-web/m-p/134160#M260880</guid>
      <dc:creator>vxhong17</dc:creator>
      <dc:date>2013-05-15T22:01:27Z</dc:date>
    </item>
  </channel>
</rss>

