<?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: Importing xlsx files. in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133108#M1359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible reason for this error is the Microsoft components must match the "bitness" of SAS. If you are running 32-bit SAS you need the 32-bit components, if you are running 64-bit SAS you need the 64-bit components. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2013 02:35:02 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2013-03-14T02:35:02Z</dc:date>
    <item>
      <title>Importing xlsx files.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133104#M1355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have SAS 9.3 installed, but SAS seems to ignore the sheet= statement because the resulting dataset 'test' is made up of data from the first sheet in my excel file. Any idea how to fix this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PROC IMPORT OUT=work.test&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE='C;\user\test.xlsx'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sheet='sheet4';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; getnames=yes;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 21:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133104#M1355</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-03-12T21:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Importing xlsx files.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133105#M1356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using SAS on Windows?&lt;/P&gt;&lt;P&gt;If so try importing via libname, then you can see the sheets and what SAS is seeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname test excel "C;\user\test.xlsx";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check your libraries and see what the sheets look like. If you're after sheet4 for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;set test.'Sheet4$'n;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Close the connection to the excel file;&lt;/P&gt;&lt;P&gt;libname test;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 21:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133105#M1356</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-03-12T21:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Importing xlsx files.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133106#M1357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did the&lt;STRONG style="color: #ff0000; font-size: 12pt;"&gt; ;&lt;/STRONG&gt; in &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&amp;nbsp; FILE='C&lt;STRONG style="font-size: 12pt;"&gt;;&lt;/STRONG&gt;\user\test.xlsx'&lt;/SPAN&gt; give you problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 23:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133106#M1357</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2013-03-12T23:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Importing xlsx files.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133107#M1358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error when I run the libname statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Connect: Class not registered&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I googled it, and found that I need to download and install Microsoft's Data Connectivity Components, which I have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running SAS 9.3 on a Windows 7 machine. That download should have fixed it, correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 19:39:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133107#M1358</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-03-13T19:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Importing xlsx files.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133108#M1359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible reason for this error is the Microsoft components must match the "bitness" of SAS. If you are running 32-bit SAS you need the 32-bit components, if you are running 64-bit SAS you need the 64-bit components. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 02:35:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133108#M1359</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-03-14T02:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Importing xlsx files.</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133109#M1360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it I have 32-bit office components, but 64-bit SAS. I think this is the issue. &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 21:43:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Importing-xlsx-files/m-p/133109#M1360</guid>
      <dc:creator>sarahsasuser</dc:creator>
      <dc:date>2013-03-26T21:43:11Z</dc:date>
    </item>
  </channel>
</rss>

