<?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: Export SAS data to Excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418056#M21503</link>
    <description>&lt;P&gt;Not sure what why you are still having issues with using PROC EXPORT.&amp;nbsp; You probably should contact SAS support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But why not just avoid the whole issue and use the XLSX engine instead?&amp;nbsp; That way you are avoiding trying to get Excel software to run at all.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname out xlsx 'filename of excel file.xlsx';
data out.mysheet ;
  set mydataset;
run;
libname out close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 04 Dec 2017 01:23:29 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2017-12-04T01:23:29Z</dc:date>
    <item>
      <title>Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418053#M21502</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to export SAS data to Excel, used file, export...&lt;/P&gt;
&lt;P&gt;Here is the log showed:&lt;/P&gt;
&lt;P&gt;Error: Connect: Class not registered&lt;/P&gt;
&lt;P&gt;Error: Error in the libname statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My SAS is 9.4 64 bit and Excel is 64 bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before this, I had the same message in SAS log, when I exported to Excel 32 bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully, someone can help. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Phan S.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 00:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418053#M21502</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2017-12-04T00:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418056#M21503</link>
      <description>&lt;P&gt;Not sure what why you are still having issues with using PROC EXPORT.&amp;nbsp; You probably should contact SAS support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But why not just avoid the whole issue and use the XLSX engine instead?&amp;nbsp; That way you are avoiding trying to get Excel software to run at all.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname out xlsx 'filename of excel file.xlsx';
data out.mysheet ;
  set mydataset;
run;
libname out close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 01:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418056#M21503</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-12-04T01:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418075#M21504</link>
      <description>&lt;P&gt;Check if SAS/ACCESS to PC Files is installed and licensed.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:23:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418075#M21504</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-12-04T07:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418198#M21505</link>
      <description>&lt;P&gt;Did you try DBMS=XLSX, you should include your code and log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data=sashelp.class outfile='/folders/myfolders/temp.xslx' dbms=xlsx replace ; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418198#M21505</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-04T15:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418216#M21506</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31493"&gt;@PhanS&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to export SAS data to Excel, used file, export...&lt;/P&gt;
&lt;P&gt;Here is the log showed:&lt;/P&gt;
&lt;P&gt;Error: Connect: Class not registered&lt;/P&gt;
&lt;P&gt;Error: Error in the libname statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My SAS is 9.4 64 bit and Excel is 64 bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before this, I had the same message in SAS log, when I exported to Excel 32 bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully, someone can help. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Phan S.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Show the code and entire log for the export attempted. Sometimes you get the "class not registered" because a previous statement does not end in a semicolon and SAS is trying to treat a line of code as an option not valid on the previous line.&lt;/P&gt;
&lt;P&gt;Since this is coupled with an "Error in the libname statement" it may be that the lines before the Libname statement&amp;nbsp;is the cause.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 16:43:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418216#M21506</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-04T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418337#M21507</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks you for your help. It worked out.&lt;/P&gt;
&lt;P&gt;However, this method appears not work: File, export, library/Member ...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Phan S.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 01:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418337#M21507</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2017-12-05T01:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418338#M21508</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks you. I tried with your code but it appears not work.&lt;/P&gt;
&lt;P&gt;I just posted my comment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Phan S.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 01:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418338#M21508</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2017-12-05T01:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export SAS data to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418339#M21509</link>
      <description>&lt;P&gt;Hello Kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The software has an up-to-date licence and 64 bit.&lt;/P&gt;
&lt;P&gt;I used proc export as provided by Reeze -- it worked.&lt;/P&gt;
&lt;P&gt;This method appears not work: File, export, library/member,...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Phan S.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 01:07:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-SAS-data-to-Excel/m-p/418339#M21509</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2017-12-05T01:07:21Z</dc:date>
    </item>
  </channel>
</rss>

