<?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: Exporting data set  into .xlx s in SAS 9.2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322109#M271066</link>
    <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2017 11:59:02 GMT</pubDate>
    <dc:creator>LineMoon</dc:creator>
    <dc:date>2017-01-03T11:59:02Z</dc:date>
    <item>
      <title>Exporting data set  into .xlsx  in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322007#M271058</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, I want to export a sas data set into .xlsx file in sas 9.2.&lt;/P&gt;
&lt;P&gt;I have used export proc and ods intruction(it generate .xlsx file), but I can ont open the .xlsx file.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 22:17:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322007#M271058</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2017-01-02T22:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322014#M271059</link>
      <description>&lt;P&gt;9.2 can only create xls format files, IIRC.&lt;/P&gt;
&lt;P&gt;Please post code&amp;amp;log, and which operating system your SAS runs on.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 21:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322014#M271059</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-02T21:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322015#M271060</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/44053"&gt;@LineMoon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to use the IMPORT and EXPORT procedures to read and write Microsoft Excel files requires the &lt;A title="What's new in SAS/ACCESS to PC Files" href="http://support.sas.com/documentation/cdl/en/acpcref/63181/HTML/default/viewer.htm#acpcrefwhatsnew93.htm" target="_blank"&gt;SAS/ACCESS to PC Files&lt;/A&gt; module. This maybe the reason why you are not able to open the .xlsx file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Samantha&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 21:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322015#M271060</guid>
      <dc:creator>sabisw</dc:creator>
      <dc:date>2017-01-02T21:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322018#M271061</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73569"&gt;@sabisw&lt;/a&gt; : Thank you.&lt;/P&gt;
&lt;P&gt;But, why I can open .xls file, when I use ods with proc print ? but I can create .xlsx file, but I can not open it ?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 22:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322018#M271061</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2017-01-02T22:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322019#M271062</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; :Thank you.&lt;/P&gt;
&lt;P&gt;Please, IIRC ? you mean by that&amp;nbsp; ? : &lt;I&gt;&lt;A title="if" href="https://fr.wiktionary.org/wiki/if#en-conj" target="_blank"&gt;if&lt;/A&gt; &lt;A title="I" href="https://fr.wiktionary.org/wiki/I#en-pronom-pers" target="_blank"&gt;I&lt;/A&gt; &lt;A title="recall" href="https://fr.wiktionary.org/wiki/recall#en-verb" target="_blank"&gt;recall&lt;/A&gt; &lt;A title="correctly" href="https://fr.wiktionary.org/wiki/correctly#en-adv" target="_blank"&gt;correctly&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; ods tagsets.excelxp file='K/JM/multisheet.xlsx' options( sheet_name='Test_1' );
  proc print data=First_test;
  run;
  ods tagsets.excelxp close;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 22:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322019#M271062</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2017-01-02T22:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322029#M271063</link>
      <description>&lt;P&gt;When using ods tagsets.excelxp, you create a XML file, so you also should use the .xml filename extension. Excel will complain if the file format does not match the extension. And you are right about the IIRC acronym.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 00:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322029#M271063</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-03T00:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322030#M271064</link>
      <description>&lt;P&gt;And which error message are you getting from Excel when trying to open the file?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 00:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322030#M271064</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-03T00:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322048#M271065</link>
      <description>Hi:&lt;BR /&gt;  TAGSETS.EXCELXP creates a file that MUST be named either .XML or .XLS (and Excel will complain if you call it XLS because it is really an XML file). &lt;BR /&gt;&lt;BR /&gt;  The "new" .XLSX file type introduced with Excel (like the new DOCX and PPTX) is a proprietary XML file type that is really a zip archive that defines the workbook in XML format. The XLSX extension should NOT be used with TAGSETS.EXCELXP. The "flavor" of XML created by TAGSETS.EXCELXP is Spreadsheet Markup Language XML from Office 2003. The "flavor" of the XLSX file is Open Office XML as specified in Office 2007 -- the 2 file formats (.XML versus .XLSX) are completely different. Try using this:&lt;BR /&gt;&lt;BR /&gt; ods tagsets.excelxp file='K:/JM/multisheet.xml'     options( sheet_name='Test_1' );&lt;BR /&gt;  proc print data=sashelp.class;&lt;BR /&gt;  run;&lt;BR /&gt; &lt;BR /&gt;ods tagsets.excelxp options(sheet_name='Cars');&lt;BR /&gt;  proc print data=sashelp.cars(obs=5);&lt;BR /&gt;run;&lt;BR /&gt;  ods tagsets.excelxp close;&lt;BR /&gt;&lt;BR /&gt;using an XML file extension and the file should open for you correctly.&lt;BR /&gt;&lt;BR /&gt;  The new (SAS 9.4) destination ODS EXCEL is the ONLY destination that creates a true zip archive XLSX file that conforms to the Microsoft specification. But since you are running 9.2, you will not be able to use ODS EXCEL.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2017 02:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322048#M271065</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-03T02:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data set  into .xlx s in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322109#M271066</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 11:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-set-into-xlsx-in-SAS-9-2/m-p/322109#M271066</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2017-01-03T11:59:02Z</dc:date>
    </item>
  </channel>
</rss>

