<?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: Variable length import of a xlsm file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Variable-length-import-of-a-xlsm-file/m-p/743443#M232774</link>
    <description>&lt;P&gt;My first approach would be get rid of the macro(s) in the file. SAS won't use them.&lt;/P&gt;
&lt;P&gt;Possibly save the file/sheets as CSV (comma separated values) and read/import the CSV file(s).&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 23:12:03 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-05-24T23:12:03Z</dc:date>
    <item>
      <title>Variable length import of a xlsm file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-length-import-of-a-xlsm-file/m-p/743442#M232773</link>
      <description>&lt;P&gt;SAS 9.4 TS1M7 on WIN x64&lt;/P&gt;
&lt;P&gt;ACCESS/PCFF is installed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to proc import a XLSM file in SAS EG, the only way been able to do so is to set one if its column (due to variable nature of length/data) the column to 29k length and insert 19k worth of gibberish (call it some story) pad the column which is then imported then the gibberish is stripped off.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you guys know of a better way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;S.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 23:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-length-import-of-a-xlsm-file/m-p/743442#M232773</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2021-05-24T23:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Variable length import of a xlsm file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-length-import-of-a-xlsm-file/m-p/743443#M232774</link>
      <description>&lt;P&gt;My first approach would be get rid of the macro(s) in the file. SAS won't use them.&lt;/P&gt;
&lt;P&gt;Possibly save the file/sheets as CSV (comma separated values) and read/import the CSV file(s).&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 23:12:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-length-import-of-a-xlsm-file/m-p/743443#M232774</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-24T23:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Variable length import of a xlsm file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-length-import-of-a-xlsm-file/m-p/746295#M234100</link>
      <description>&lt;P&gt;(Solved for me)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* dbms=excel was used, where sas &amp;amp; MS office prod has same bitness */&lt;BR /&gt;/* col 1 had variable length entries&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;BR /&gt;proc import file="e:\data\mydata_xlsm_vl.xlsm" &lt;STRONG&gt;dbms=excel&lt;/STRONG&gt; out=test_vl;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 16:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-length-import-of-a-xlsm-file/m-p/746295#M234100</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2021-06-07T16:16:17Z</dc:date>
    </item>
  </channel>
</rss>

