<?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: Import Excel file in SAS using libname statment in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596869#M171921</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Not sure. Try option&amp;nbsp; DATAROW=3&amp;nbsp; .&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That works for Proc Import but not for the Libname XLSX engine as documented &lt;A href="https://go.documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=n0oj9f6i838mymn148890ckla700.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 13:19:49 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2019-10-16T13:19:49Z</dc:date>
    <item>
      <title>Import Excel file in SAS using libname statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596834#M171902</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am trying to import excel file using libname statement but in my dataset variable name start from second row, actual data from third row and data in first row is of no use. How can I set getname from 2nd row and getdata from 3rd row like proc import.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am trying to this done using following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myexcel pcfiles path='\BA1.xlsx'
		 scantime=yes stringdates=no dbmax_text=2000 ;

data dv;
	set myexcel.'DV$'n;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Not Using proc import because format of data is getting change.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596834#M171902</guid>
      <dc:creator>MohammedNaeem</dc:creator>
      <dc:date>2019-10-16T11:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel file in SAS using libname statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596838#M171904</link>
      <description>&lt;P&gt;The libname XLSX engine gives you access to a whole Excel Workbook and you can't define special options on a sheet level.&lt;/P&gt;
&lt;P&gt;I don't understand why you can't use Proc Import. If the source structure changes then that's impacting both the result Proc Import and the XLSX engine will return.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:55:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596838#M171904</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-10-16T11:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel file in SAS using libname statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596865#M171919</link>
      <description>&lt;P&gt;Not sure. Try option&amp;nbsp; DATAROW=3&amp;nbsp; .&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596865#M171919</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-10-16T13:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel file in SAS using libname statment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596869#M171921</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Not sure. Try option&amp;nbsp; DATAROW=3&amp;nbsp; .&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That works for Proc Import but not for the Libname XLSX engine as documented &lt;A href="https://go.documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=n0oj9f6i838mymn148890ckla700.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-Excel-file-in-SAS-using-libname-statment/m-p/596869#M171921</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-10-16T13:19:49Z</dc:date>
    </item>
  </channel>
</rss>

