<?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: Limit To Columns Imported from Excel 2010? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109431#M30444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post the code that you used.&amp;nbsp; Column IU, which I think is column 255, makes me think that you are attempting to import using one of the older engines.&amp;nbsp; Are you running base SAS or are you using EG?&amp;nbsp; Do you license SAS/Access for pcfile formats?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Oct 2012 23:46:37 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-10-28T23:46:37Z</dc:date>
    <item>
      <title>Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109430#M30443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;I am importing a table from Excel 2010 using SAS 9.2.&amp;nbsp; This has never been a problem before but now SAS isn't importing all columns.&amp;nbsp; The table is from A1 to OQ366 and SAS only imports to IU366.&amp;nbsp; I even forced the range by using the worksheet and name in the import syntax i.e. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;"ImportFile$A1:OQ366". &lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;For another table that is A1 to NB366 it only imports to MH366.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Is there a specified limit to the number of columns imported?&amp;nbsp; Is there any way I can force the import?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 23:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109430#M30443</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-10-28T23:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109431#M30444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post the code that you used.&amp;nbsp; Column IU, which I think is column 255, makes me think that you are attempting to import using one of the older engines.&amp;nbsp; Are you running base SAS or are you using EG?&amp;nbsp; Do you license SAS/Access for pcfile formats?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 23:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109431#M30444</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-28T23:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109432#M30445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the ACE library (a Microsoft product) which is the interface used by SAS to access Excel and Access files is still limited to 255 column on import and export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 01:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109432#M30445</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-10-29T01:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109433#M30446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt; I think the libname engine still has those limits but, with the latest version of 9.2 (M 3 I think), proc import and proc export can deal with the actual new excel capabilities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 04:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109433#M30446</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-29T04:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109434#M30447</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;The code I used to import is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Proc &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;IMPORT&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;= WORK.MASTER_NEW_B1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;DATAFILE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;= &amp;amp;import_path&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;DBMS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=EXCELCS REPLACE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;Range = "B1$"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Scantext = Yes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;UseDate = Yes;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that B1 is the name of the worksheet.&amp;nbsp; So is there any way to get around the import column limit? &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;Shelley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 13:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109434#M30447</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-10-29T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109435#M30448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only test it on 9.3.&amp;nbsp; The following worked for me on a 64-bit Windows 2008 server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let import_path=d:\art\widetest.xlsx;&lt;/P&gt;&lt;P&gt;Proc IMPORT OUT= WORK.MASTER_NEW_B1&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATAFILE= "&amp;amp;import_path"&lt;/P&gt;&lt;P&gt;&amp;nbsp; DBMS=XLSX REPLACE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; getnames=no;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 14:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109435#M30448</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-29T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109436#M30449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arthur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much....I don't know why I said I had 9.2 because I do have 9.3!!&amp;nbsp; I'm assuming the "getnames" is for the column head labels? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 16:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109436#M30449</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2012-10-29T16:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Limit To Columns Imported from Excel 2010?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109437#M30450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&amp;nbsp; If you have column head labels then use getnames=yes;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/m-p/109437#M30450</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-29T18:16:59Z</dc:date>
    </item>
  </channel>
</rss>

