<?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: proc import range=... starting from line 2 &amp;gt; dbms=xlsx vs. dbsm=excel De-Mystifying the SAS® LIB in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-import-range-starting-from-line-2-gt-dbms-xlsx-vs-dbsm/m-p/636676#M189176</link>
    <description>&lt;P&gt;It is meant to be this way.&lt;/P&gt;
&lt;P&gt;You can point to the desired range when using the libname by using a name starting with $.&lt;/P&gt;
&lt;P&gt;You may find these papers interesting &lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/024-31.pdf%20" target="_self"&gt;De-Mystifying the SAS® LIBNAME Engine in Microsoft Excel: A Practical Guide&lt;/A&gt; and &lt;A href="https://blogs.sas.com/content/sasdummy/2018/06/21/read-excel-range/" target="_self"&gt;How to use SAS to read a range of cells from Excel&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 21:08:52 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-04-01T21:08:52Z</dc:date>
    <item>
      <title>proc import range=... starting from line 2 &gt; dbms=xlsx vs. dbsm=excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-range-starting-from-line-2-gt-dbms-xlsx-vs-dbsm/m-p/636610#M189144</link>
      <description>&lt;P&gt;With the dbms=xlsx, it is possible to use&amp;nbsp;&lt;CODE class=" language-sas"&gt;range='All_Students$A2:0'&lt;/CODE&gt; to import all the lines from line 2. But it does not work with dbms=excel. Is it meant to be or is it just a bug in SAS 9.4?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname demo excel "&amp;amp;xxdemo./reporting/class.xlsx";

data demo.'All Students'n;  
    set sashelp.class;
run;

libname demo clear;

proc import datafile = "&amp;amp;xxdemo./reporting/class.xlsx" 
            out      = demo
            dbms     = xlsx
            replace;
    getnames=no;
    range='All_Students$A2:0';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Apr 2020 17:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-range-starting-from-line-2-gt-dbms-xlsx-vs-dbsm/m-p/636610#M189144</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2020-04-01T17:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc import range=... starting from line 2 &gt; dbms=xlsx vs. dbsm=excel De-Mystifying the SAS® LIB</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-range-starting-from-line-2-gt-dbms-xlsx-vs-dbsm/m-p/636676#M189176</link>
      <description>&lt;P&gt;It is meant to be this way.&lt;/P&gt;
&lt;P&gt;You can point to the desired range when using the libname by using a name starting with $.&lt;/P&gt;
&lt;P&gt;You may find these papers interesting &lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/024-31.pdf%20" target="_self"&gt;De-Mystifying the SAS® LIBNAME Engine in Microsoft Excel: A Practical Guide&lt;/A&gt; and &lt;A href="https://blogs.sas.com/content/sasdummy/2018/06/21/read-excel-range/" target="_self"&gt;How to use SAS to read a range of cells from Excel&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 21:08:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-range-starting-from-line-2-gt-dbms-xlsx-vs-dbsm/m-p/636676#M189176</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-04-01T21:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc import range=... starting from line 2 &gt; dbms=xlsx vs. dbsm=excel De-Mystifying the SAS®</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import-range-starting-from-line-2-gt-dbms-xlsx-vs-dbsm/m-p/636679#M189177</link>
      <description>&lt;P&gt;I'm alraedy using a $ sign in front of the range.&lt;BR /&gt;The link you provided &lt;A href="https://blogs.sas.com/content/sasdummy/2018/06/21/read-excel-range/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/sasdummy/2018/06/21/read-excel-range/&lt;/A&gt; only use xlsx.&lt;BR /&gt;The question is on excel dbms/engine.&lt;/P&gt;&lt;P&gt;Do you have any example with excel?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 21:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import-range-starting-from-line-2-gt-dbms-xlsx-vs-dbsm/m-p/636679#M189177</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2020-04-01T21:49:51Z</dc:date>
    </item>
  </channel>
</rss>

