<?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: how to use proc import to import a xlsx and make second row as column title? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230601#M41835</link>
    <description>&lt;P&gt;Hi, try a data step ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname x 'z:\test.xls';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;data new;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;set x.'sheet1$'n ;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname x clear;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data set NEW using attached XLS with column names in row 2 ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp; 15OCT2015&amp;nbsp;&amp;nbsp;&amp;nbsp; HEY&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; 01JAN1960&amp;nbsp;&amp;nbsp;&amp;nbsp; IT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 11NOV2011&amp;nbsp;&amp;nbsp;&amp;nbsp; WORKS&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2015 16:25:56 GMT</pubDate>
    <dc:creator>MikeZdeb</dc:creator>
    <dc:date>2015-10-19T16:25:56Z</dc:date>
    <item>
      <title>how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230363#M41762</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem with the title while proc import to import a xlsx file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know how to use proc import but not sure how to make the second row as the titile.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to use proc import and i cannot change the xlsx to xls because some pre requirements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried startrow= and namerow= &amp;nbsp;but apprantely it does not work for me. I wonder what I could do to make the second row as the name for the columns?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I mean if nothing works with xlsx file, what i could do in data step to make second row as column title?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tao&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:02:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230363#M41762</guid>
      <dc:creator>ASU_IE</dc:creator>
      <dc:date>2015-10-16T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230367#M41763</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;First create an infile to start from second row then use it in proc import&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
infile 'C:\Users\file.tab' firstobs=2;
file exTemp1;
input;
put _infile_;
run;
PROC IMPORT DATAFILE=exTemp1
  OUT=SIM
  DBMS=TAB  REPLACE;
  GETNAMES=YES;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Att&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230367#M41763</guid>
      <dc:creator>DartRodrigo</dc:creator>
      <dc:date>2015-10-16T20:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230368#M41764</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;A class="lia-link-navigation lia-page-link lia-user-name-link" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/50353" target="_self"&gt;DartibaliRodrig&lt;WBR /&gt;o&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;thank you for your help! I did saw this from some other posts but I wonder if I could use Proc import to make this happen?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;&lt;BR /&gt;Tao&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230368#M41764</guid>
      <dc:creator>ASU_IE</dc:creator>
      <dc:date>2015-10-16T20:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230371#M41765</link>
      <description>&lt;P&gt;Yes that was a workaround to do what you need but one question, did you use the getnames &amp;nbsp;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Att&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:40:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230371#M41765</guid>
      <dc:creator>DartRodrigo</dc:creator>
      <dc:date>2015-10-16T20:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230373#M41766</link>
      <description>&lt;P&gt;I do use getname= but the problem is I use SAS EG and the excel file i want to import is something look like (in proc import)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC IMPORT OUT= SASMEEXT.IVLimits_lookup DATAFILE= "\\powerteams.secondset.com\manuengg\Root Cause\AV Targets Table\Table v2.xlsx"&lt;BR /&gt; DBMS=xlsx REPLACE;&lt;BR /&gt; GETNAMES=YES;&lt;BR /&gt; sheet="AVLimits_lookup";&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I use infile, Because I am using EG at my company and EG cannot find the file and gave error as&lt;/P&gt;
&lt;P&gt;ERROR: Physical file does not exist, D:\SAS\Config\Lev1\SASApp\EXTEMP1. &lt;BR /&gt;ERROR: Import unsuccessful. See SAS Log for details.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230373#M41766</guid>
      <dc:creator>ASU_IE</dc:creator>
      <dc:date>2015-10-16T20:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230374#M41767</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import file='c:\temp\op.xls' out=op dbms=xls replace;
namerow=2;
startrow=3;
getnames=yes;
run;

But this way is not suited for office2007.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If don't try this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Att&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230374#M41767</guid>
      <dc:creator>DartRodrigo</dc:creator>
      <dc:date>2015-10-16T20:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230375#M41768</link>
      <description>&lt;P&gt;I found this option DATAROW=2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see if this works&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 20:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230375#M41768</guid>
      <dc:creator>DartRodrigo</dc:creator>
      <dc:date>2015-10-16T20:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230376#M41769</link>
      <description>that's the problem because I can only import xlsx file. I wonder why SAS could not support xlsx ?</description>
      <pubDate>Fri, 16 Oct 2015 20:58:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230376#M41769</guid>
      <dc:creator>ASU_IE</dc:creator>
      <dc:date>2015-10-16T20:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230397#M41772</link>
      <description>HI DartibaliRodrigo,&lt;BR /&gt;&lt;BR /&gt;I don't think this will work because I check the definition of datarow = option and it will still keep the first row in excel as the title and start to read data from second row. The definition is stated  as below for datarow=&lt;BR /&gt;&lt;BR /&gt;DATAROW=&lt;BR /&gt;Context: [PROC IMPORT] DATAROW= statement&lt;BR /&gt;&lt;BR /&gt;[Syntax: DATAROW=1 to 32767;] &lt;BR /&gt;      &lt;BR /&gt;Starts reading data from the specified row number in the delimited text file. &lt;BR /&gt;&lt;BR /&gt;Default: &lt;BR /&gt;1 when GETNAMES=NO &lt;BR /&gt;2 when GETNAMES=YES (default for GETNAMES=) &lt;BR /&gt; &lt;BR /&gt;Interaction: &lt;BR /&gt;When GETNAMES=YES, DATAROW= must be equal to or greater than 2. When GETNAMES=NO, DATAROW must be &lt;BR /&gt;equal to or greater than 1.</description>
      <pubDate>Sat, 17 Oct 2015 04:30:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230397#M41772</guid>
      <dc:creator>ASU_IE</dc:creator>
      <dc:date>2015-10-17T04:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230550#M41823</link>
      <description>&lt;P&gt;Hi, good&amp;nbsp;Morning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found this link see, find anything that works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="PROC IMPORT - Microsoft Excel Workbook Files" href="https://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003103761.htm" target="_blank"&gt;PROC IMPORT - Microsoft Excel Workbook Files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it will only represent until Excel 2007, anyway i thing this might help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Att&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 11:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230550#M41823</guid>
      <dc:creator>DartRodrigo</dc:creator>
      <dc:date>2015-10-19T11:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230601#M41835</link>
      <description>&lt;P&gt;Hi, try a data step ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname x 'z:\test.xls';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;data new;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;set x.'sheet1$'n ;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname x clear;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data set NEW using attached XLS with column names in row 2 ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp; 15OCT2015&amp;nbsp;&amp;nbsp;&amp;nbsp; HEY&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; 01JAN1960&amp;nbsp;&amp;nbsp;&amp;nbsp; IT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 11NOV2011&amp;nbsp;&amp;nbsp;&amp;nbsp; WORKS&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 16:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230601#M41835</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2015-10-19T16:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230619#M41842</link>
      <description>Hi Mike,&lt;BR /&gt;&lt;BR /&gt;Thank you for your help! The only thing that may not apply to my case is that the file I can import has to be xlsx and I am not sure if SAS could handle this situation. &lt;BR /&gt;&lt;BR /&gt;Tao</description>
      <pubDate>Mon, 19 Oct 2015 18:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230619#M41842</guid>
      <dc:creator>ASU_IE</dc:creator>
      <dc:date>2015-10-19T18:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230625#M41845</link>
      <description>&lt;P&gt;Hi, XLSX works too (did you&amp;nbsp; try it with an XLSX file on your own?)&amp;nbsp;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname x 'z:\test.xlsx';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data new;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;set x.'sheet1$'n ;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname x clear;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data set NEW from XLSX file ...&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;Obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp; 15OCT2015&amp;nbsp;&amp;nbsp;&amp;nbsp; HEY&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; 01JAN1960&amp;nbsp;&amp;nbsp;&amp;nbsp; IT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 11NOV2011&amp;nbsp;&amp;nbsp;&amp;nbsp; WORKS&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 18:46:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230625#M41845</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2015-10-19T18:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to use proc import to import a xlsx and make second row as column title?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230767#M41907</link>
      <description>Hi  DartibaliRodrigo,&lt;BR /&gt;&lt;BR /&gt;Thank you for the suggestion and I tried your code but my physical location is on the server side, so seems like it does not work. However, I do get an email from SAS support and actually this is a very simple problem and I just forgot the range= option. I mean I just need to specify the range start from second row. I guess the only issue for this method is you have to know how many rows in your excel file but you can always give a large number though.  &lt;BR /&gt;&lt;BR /&gt;Thank you again for your help!</description>
      <pubDate>Tue, 20 Oct 2015 15:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-use-proc-import-to-import-a-xlsx-and-make-second-row-as/m-p/230767#M41907</guid>
      <dc:creator>ASU_IE</dc:creator>
      <dc:date>2015-10-20T15:04:05Z</dc:date>
    </item>
  </channel>
</rss>

