<?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: Importing a .xlsx file into SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351136#M81706</link>
    <description>&lt;P&gt;I am able to immport when file is in .xls format but it is not working on .xlsx file, as i want to connect sas with .xlsx with the help of DDE&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 04:48:54 GMT</pubDate>
    <dc:creator>mrinmoy</dc:creator>
    <dc:date>2017-04-19T04:48:54Z</dc:date>
    <item>
      <title>Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351120#M81700</link>
      <description>&lt;DIV&gt;using sas 9.4 and unable to import data from .xlsx file&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;error: file is not available&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;same code is working for csv and .xls file&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;filename exldata dde "excel|C:\Users\astha.verma\Desktop\SELF\jigsaw\SAS\SAS data sets\[Loandetails.xlsx] Sheet1!r2c1:r12c6" notab;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;data exldata1;&lt;/DIV&gt;&lt;DIV&gt;infile exldata delimiter = '09'x dsd missover;&lt;/DIV&gt;&lt;DIV&gt;length name position $20.;&lt;/DIV&gt;&lt;DIV&gt;informat DOJ mmddyy10. DOB mmddyy9.;&lt;/DIV&gt;&lt;DIV&gt;format DOJ mmddyy10. DOB mmddyy9.;&lt;/DIV&gt;&lt;DIV&gt;input Name $ Income DOJ DOB Position $ Workex;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Apr 2017 03:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351120#M81700</guid>
      <dc:creator>mrinmoy</dc:creator>
      <dc:date>2017-04-19T03:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351125#M81702</link>
      <description>&lt;P&gt;Is there a specific reason you're using DDE to import Excel data?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what doesn't work? You haven't explained how it doesn't work...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 03:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351125#M81702</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-19T03:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351127#M81704</link>
      <description>&lt;P&gt;Maybe: Is the file already opened in Excel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 03:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351127#M81704</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-19T03:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351136#M81706</link>
      <description>&lt;P&gt;I am able to immport when file is in .xls format but it is not working on .xlsx file, as i want to connect sas with .xlsx with the help of DDE&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 04:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351136#M81706</guid>
      <dc:creator>mrinmoy</dc:creator>
      <dc:date>2017-04-19T04:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351137#M81707</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am able to immport when file is in .xls format but it is not working on .xlsx file, as i want to connect sas with .xlsx with the help of DDE&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 04:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351137#M81707</guid>
      <dc:creator>mrinmoy</dc:creator>
      <dc:date>2017-04-19T04:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351145#M81712</link>
      <description>&lt;P&gt;Not working means absolutely nothing. Please include more information. Did the file open in Excel? Was there any errors? In Excel or SAS?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 05:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351145#M81712</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-19T05:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351151#M81714</link>
      <description>&lt;P&gt;I am getting error that file is not available. I think it means sas is not able to connect to the .xlsx file&lt;/P&gt;&lt;P&gt;my code is working with .xls file and with .csv file&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 05:45:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351151#M81714</guid>
      <dc:creator>mrinmoy</dc:creator>
      <dc:date>2017-04-19T05:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351173#M81717</link>
      <description>&lt;P&gt;POST.THE.LOG.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:28:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351173#M81717</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-19T07:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351185#M81721</link>
      <description>&lt;P&gt;As others have stated there is not enough information for us to debug. &amp;nbsp;What I would however state is that DDE is old - very old. &amp;nbsp;It was discontinued over 10 years ago and is really not recommended for use on anything now. &amp;nbsp;In certain setups it doesn't work at all. &amp;nbsp;I would really advise that you change your data handling policy, for instance is there a reason why you read in the data this way, rather than saving the data to CSV, there doesn't appear to be any funky Excel specific things going on as you are reading from first data row/column to end, so no reason to try any Excel specific things. &amp;nbsp;Depending on the file you may even get away with just:&lt;/P&gt;
&lt;P&gt;libname tmp xlsx "&amp;lt;path to your file&amp;gt;&amp;lt;yourfile&amp;gt;.xlsx";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 08:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351185#M81721</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-19T08:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a .xlsx file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351284#M81762</link>
      <description>&lt;P&gt;You never addressed why you would use DDE? I assume it's because if licensing issues?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You dont need the DDE for the CSV file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the XLSX file what happens when you run the connection string alone? I'm assuming it doesn't connect and Excel doesn't open so work on fixing the DDE statement. What version of Excel do you have? If it's 2013+ I have heard cases where DDE was no longer functional.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the different DDE options for connections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post a screenshot of the error you receive.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-a-xlsx-file-into-SAS/m-p/351284#M81762</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-19T13:26:30Z</dc:date>
    </item>
  </channel>
</rss>

