<?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: SAS reading Excel in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-reading-Excel/m-p/39449#M646</link>
    <description>go to support.sas and search for &lt;BR /&gt;
&lt;BR /&gt;
ERROR: Connect: The Microsoft Jet database engine cannot open the file&lt;BR /&gt;
&lt;BR /&gt;
One of the responses may well apply to your situation.</description>
    <pubDate>Thu, 04 Jun 2009 16:10:06 GMT</pubDate>
    <dc:creator>Bill</dc:creator>
    <dc:date>2009-06-04T16:10:06Z</dc:date>
    <item>
      <title>SAS reading Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-reading-Excel/m-p/39448#M645</link>
      <description>I have been reading Excel spreadsheets into SAS using the following code:&lt;BR /&gt;
&lt;BR /&gt;
PROC IMPORT OUT=TORQTable1 &lt;BR /&gt;
            DATAFILE= 'G:\NEG\Xxxxr - Xxxxxxxxx\TORQ Tables\TORQ Related Occs\torq11-1021.xls' &lt;BR /&gt;
            DBMS=EXCEL REPLACE;	      &lt;BR /&gt;
		 	GETNAMES=YES;&lt;BR /&gt;
			SHEET='Sheet3'; &lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
This sometimes works but frequently I get the following error message:&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Connect: The Microsoft Jet database engine cannot open the file&lt;BR /&gt;
       ''.  It is already opened exclusively by another user, or you&lt;BR /&gt;
       need permission to view its data.&lt;BR /&gt;
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;
Connection Failed.  See log for details.&lt;BR /&gt;
&lt;BR /&gt;
So I added an X statement:&lt;BR /&gt;
&lt;BR /&gt;
X "'G:\NEG\Xxxxr - Xxxxxxxxx\TORQ Tables\TORQ Related Occs\torq11-1021.xls'";&lt;BR /&gt;
&lt;BR /&gt;
This works sometimes but I sometimes also get the aove error.&lt;BR /&gt;
&lt;BR /&gt;
I don't think that the table is opened by someone else because it also happens on files on my C: drive that I know are &lt;BR /&gt;
closed. (With the X statement, the table always opens on my desktop before getting the error message.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
BP</description>
      <pubDate>Mon, 01 Jun 2009 18:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-reading-Excel/m-p/39448#M645</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-01T18:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS reading Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-reading-Excel/m-p/39449#M646</link>
      <description>go to support.sas and search for &lt;BR /&gt;
&lt;BR /&gt;
ERROR: Connect: The Microsoft Jet database engine cannot open the file&lt;BR /&gt;
&lt;BR /&gt;
One of the responses may well apply to your situation.</description>
      <pubDate>Thu, 04 Jun 2009 16:10:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-reading-Excel/m-p/39449#M646</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-06-04T16:10:06Z</dc:date>
    </item>
  </channel>
</rss>

