<?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: Getting an error when exporting to Excel with Libname in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-an-error-when-exporting-to-Excel-with-Libname/m-p/454192#M2228</link>
    <description>&lt;P&gt;It sounds more like a versioning issue. If it's a version issue, the file gets created and then you get an error when trying to open the file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check the version with the following to see if you have the same on your server and/or desktop. It's common to have different versions unfortunately.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;

    proc product_status;
   run;

endrsubmit;

proc product_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 14 Apr 2018 19:06:52 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-04-14T19:06:52Z</dc:date>
    <item>
      <title>Getting an error when exporting to Excel with Libname</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-an-error-when-exporting-to-Excel-with-Libname/m-p/453978#M2226</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to move my team away from using DDE to&amp;nbsp;populate excel reports to using libname. Most of our code uses rsubmit and that works fine, but when I try to get to do the same thing without rsubmit I get an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IE, this works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;BR /&gt;libname xl xlsx '\filepath\filename.xlsx';&lt;/P&gt;&lt;P&gt;data xl.exampledataset1;&lt;BR /&gt;set &lt;SPAN&gt;example&lt;/SPAN&gt;&lt;SPAN&gt;dataset1&lt;/SPAN&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;endrsubmit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname xl xlsx '\filepath\filename.xlsx';&lt;/P&gt;&lt;P&gt;data xl.exampledataset1;&lt;BR /&gt;set&lt;SPAN&gt;&amp;nbsp;servwork.&lt;/SPAN&gt;&lt;SPAN&gt;example&lt;/SPAN&gt;&lt;SPAN&gt;dataset1&lt;/SPAN&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It throws this error:&lt;/P&gt;&lt;P&gt;ERROR: The XLSX engine cannot be found.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Browsing suggests it's something to do with 64bit SAS vs 32bit Excel, but I would have thought our server was running the same version of SAS, Not sure how to confirm that though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:49:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-an-error-when-exporting-to-Excel-with-Libname/m-p/453978#M2226</guid>
      <dc:creator>jtuck</dc:creator>
      <dc:date>2018-04-13T16:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error when exporting to Excel with Libname</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-an-error-when-exporting-to-Excel-with-Libname/m-p/454045#M2227</link>
      <description>&lt;P&gt;Check your &lt;STRONG&gt;SET &lt;/STRONG&gt;statement, &lt;EM&gt;library is wrong.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TRY:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET xl.exampledataset1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 19:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-an-error-when-exporting-to-Excel-with-Libname/m-p/454045#M2227</guid>
      <dc:creator>kishangabani</dc:creator>
      <dc:date>2018-04-13T19:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error when exporting to Excel with Libname</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-an-error-when-exporting-to-Excel-with-Libname/m-p/454192#M2228</link>
      <description>&lt;P&gt;It sounds more like a versioning issue. If it's a version issue, the file gets created and then you get an error when trying to open the file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check the version with the following to see if you have the same on your server and/or desktop. It's common to have different versions unfortunately.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;

    proc product_status;
   run;

endrsubmit;

proc product_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Apr 2018 19:06:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-an-error-when-exporting-to-Excel-with-Libname/m-p/454192#M2228</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-14T19:06:52Z</dc:date>
    </item>
  </channel>
</rss>

