<?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: Problem  in importing excel file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/802263#M81657</link>
    <description>&lt;P&gt;The file you are importing may be protected or in read only mode.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 16:00:16 GMT</pubDate>
    <dc:creator>Kgomotso_Mokai</dc:creator>
    <dc:date>2022-03-15T16:00:16Z</dc:date>
    <item>
      <title>Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169465#M43827</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;I am trying to import an excel file with 65000+ observations and 20 variable however i am receiving an error message while importing the file in sas. Below is the error message and the code used for &lt;/P&gt;&lt;P&gt;importing the same:-&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT= WORK.Trans &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATAFILE= "F:\dell blue\Data Backup 05-02-2014\Downloads\SAS&lt;/P&gt;&lt;P&gt; Study Material\Statisitical Projects\Delay Transport Data\Delay_Status_&lt;/P&gt;&lt;P&gt;Data.xls" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RANGE="Sheet1$"; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GETNAMES=YES;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIXED=NO;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCANTEXT=YES;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USEDATE=YES;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCANTIME=YES;&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;&lt;STRONG&gt;Error Mesage:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;WARNING: Failed to scan text length or time type for column ( same error message for multiple columns)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 14:52:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169465#M43827</guid>
      <dc:creator>Shivi82</dc:creator>
      <dc:date>2014-11-13T14:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169466#M43828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The range="Sheet1$" looks a bit odd.&amp;nbsp; what happens if you just put the proc import line and run (i.e. no other options).&amp;nbsp; Also as a suggestion convert to CSV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 15:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169466#M43828</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-13T15:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169467#M43829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;RANGE="Sheet1$";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SHEET="'Sheet1$'";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the single quotes inside the double quotes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 17:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169467#M43829</guid>
      <dc:creator>Brent_PLNU</dc:creator>
      <dc:date>2014-11-13T17:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169468#M43830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, its still gives an error. &lt;/P&gt;&lt;P&gt;ERROR: File _IMEX_.'Sheet1$'n.DATA does not exist.&lt;/P&gt;&lt;P&gt;ERROR: Import unsuccessful.&amp;nbsp; See SAS Log for details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 17:42:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169468#M43830</guid>
      <dc:creator>Shivi82</dc:creator>
      <dc:date>2014-11-13T17:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169469#M43831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may have answered your own question...&amp;nbsp; 'Sheet1$'n is, I think, they syntax you need to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 17:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169469#M43831</guid>
      <dc:creator>Malarkey</dc:creator>
      <dc:date>2014-11-13T17:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169470#M43832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the excel tab name exactly 'Sheet1'? No leading or trailing spaces? (I ran into that once...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are getting a different error message, so it looks like progress. Now the error points to a mismatch between what you have in the SHEET statement and what is on your excel tab label.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have code that I use everyday....&lt;/P&gt;&lt;P&gt;SHEET="'JRM Data$'";&lt;/P&gt;&lt;P&gt;the label on the excel tab is: JRM Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 17:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169470#M43832</guid>
      <dc:creator>Brent_PLNU</dc:creator>
      <dc:date>2014-11-13T17:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169471#M43833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, and one other option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the import wizard, and utilize the last step where it saves the SAS code into a file. Then look at that code to see what it shows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 18:02:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169471#M43833</guid>
      <dc:creator>Brent_PLNU</dc:creator>
      <dc:date>2014-11-13T18:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169472#M43834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there really an _error_ or only the&amp;nbsp; warning you mention?&lt;/P&gt;&lt;P&gt;What´s the exact problem? Are there really missing or wrong data?&lt;/P&gt;&lt;P&gt;Maybe the warning is only about an empty column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 11:36:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/169472#M43834</guid>
      <dc:creator>CHoens</dc:creator>
      <dc:date>2014-11-14T11:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/411515#M67351</link>
      <description>&lt;P&gt;I know this is old - but for anyone coming across this in 2017 (like I just did) - my issue was that my workbook was apparently protected. Once I unprotected the workbook, I no longer got this error message.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 13:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/411515#M67351</guid>
      <dc:creator>kteague</dc:creator>
      <dc:date>2017-11-08T13:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in importing excel file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/802263#M81657</link>
      <description>&lt;P&gt;The file you are importing may be protected or in read only mode.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 16:00:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Problem-in-importing-excel-file/m-p/802263#M81657</guid>
      <dc:creator>Kgomotso_Mokai</dc:creator>
      <dc:date>2022-03-15T16:00:16Z</dc:date>
    </item>
  </channel>
</rss>

