<?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 export to excel by file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53745#M14864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not with the tagsets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 19:02:01 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-02-14T19:02:01Z</dc:date>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53741#M14860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am exporting a data set to excel using this data step&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;data _null_;&lt;BR /&gt;set ERS_CMP.CMP_ERS_MQ12 (obs = 100);&lt;BR /&gt;file "/CEGSAS/ERS/MQ12_TESTE.xls";&lt;BR /&gt;put (_all_) (:);&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿Is it a way to export to excel when you don't have the excel engine, or do i really need to have a excel engine&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;to export datas to excel?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;I opened the MQ12_TESTE.xls but t&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;he values looks like as txt ﻿file.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 18:52:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53741#M14860</guid>
      <dc:creator>Augusto</dc:creator>
      <dc:date>2012-02-14T18:52:07Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53742#M14861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I happen to prefer using the excel engine.&amp;nbsp; However, you may be able to accomplish what you need by using the ExcelXP tagset.&amp;nbsp; Take a look at: &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 18:56:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53742#M14861</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-14T18:56:13Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53743#M14862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr. art&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do exports to excel do I need to have SAS/ACCESS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 19:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53743#M14862</guid>
      <dc:creator>Augusto</dc:creator>
      <dc:date>2012-02-14T19:01:06Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53744#M14863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing the file extension from XLS to CSV. That way when you double click on the file in Windows Explorer Excel should recognise it as a delimited file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 19:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53744#M14863</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2012-02-14T19:01:27Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53745#M14864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not with the tagsets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 19:02:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53745#M14864</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-14T19:02:01Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53746#M14865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thanks art. you helped me again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 20:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53746#M14865</guid>
      <dc:creator>Augusto</dc:creator>
      <dc:date>2012-02-14T20:15:15Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53747#M14866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mister Art. I have a question regarding to tagsets.excelxp. When i run the second code below, the first sheet1 doesn't appear in the want.xls file, I mean is overwrited by the second execution. Is the a way to insert datas into many sheets using tagsets.excelxp? I do need to have more than one ods tagsets command because each one is belongs to its proccess.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;﻿ods tagsets.excelxp file = "c:\want.xls"&amp;nbsp; options (sheet_name = 'sheet1');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data = have1 noobs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagesets.excelxp file = "c:\want.xls" options (sheet_name = 'sheet2');&lt;/P&gt;&lt;P&gt;&amp;nbsp; proc print data = have2 noobs;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 20:17:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53747#M14866</guid>
      <dc:creator>Augusto</dc:creator>
      <dc:date>2012-03-20T20:17:02Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53748#M14867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Augusto: try it after commenting out the first close statement.&amp;nbsp; i.e.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file = "c:\art\want.xls"&amp;nbsp; options (sheet_name = 'sheet1');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data = sashelp.class noobs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;*ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagesets.excelxp file = "c:\art\want.xls" options (sheet_name = 'sheet2');&lt;/P&gt;&lt;P&gt;&amp;nbsp; proc print data = sashelp.class noobs;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, It is either Dr. Art or just Art.&amp;nbsp; "Mister" makes me feel to old &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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 20:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53748#M14867</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-20T20:24:33Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53749#M14868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Dr. Art.&lt;/P&gt;&lt;P&gt;Well, I guees..I am in trouble, because actually I have these codes separated each one in its process. not like I've shown here. I have one process called export_data1.sas and other export_data2.sas that must be processed separated and the results are exported to the same excel in separated sheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 21:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53749#M14868</guid>
      <dc:creator>Augusto</dc:creator>
      <dc:date>2012-03-20T21:08:41Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53750#M14869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not just save the resulting file from the first process as a permanent file then, when you run the second process, print both files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 21:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53750#M14869</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-20T21:23:07Z</dc:date>
    </item>
    <item>
      <title>export to excel by file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53751#M14870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will do this. Is the only way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in Brazil we usually call Mister those we think that have the power to know.&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Art&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 21:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/export-to-excel-by-file/m-p/53751#M14870</guid>
      <dc:creator>Augusto</dc:creator>
      <dc:date>2012-03-20T21:38:16Z</dc:date>
    </item>
  </channel>
</rss>

