<?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: TAGSETS.EXCELXP in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451526#M113850</link>
    <description>&lt;OL&gt;
&lt;LI&gt;I always use .XLSX files&lt;/LI&gt;
&lt;LI&gt;Use ODS EXCEL&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Thu, 05 Apr 2018 14:31:34 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-04-05T14:31:34Z</dc:date>
    <item>
      <title>TAGSETS.EXCELXP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451525#M113849</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have some questions:&lt;/P&gt;&lt;P&gt;1-Using&amp;nbsp;TAGSETS.EXCELXP to export data from sas to excel.&lt;/P&gt;&lt;P&gt;What is the different between .XLS&amp;nbsp; file and&amp;nbsp; .XML file?&lt;/P&gt;&lt;P&gt;Is it recommended to use&amp;nbsp;&lt;SPAN&gt;.XLS&amp;nbsp; file&amp;nbsp; or&amp;nbsp; &amp;nbsp;.XML file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;n&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2-What is the best way to export formatted tables created in sas to excel?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ronein&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451525#M113849</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-04-05T14:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.EXCELXP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451526#M113850</link>
      <description>&lt;OL&gt;
&lt;LI&gt;I always use .XLSX files&lt;/LI&gt;
&lt;LI&gt;Use ODS EXCEL&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451526#M113850</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-05T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.EXCELXP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451533#M113854</link>
      <description>&lt;P&gt;tagsets.excelxp creates XML output, so the file should be named .xml.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451533#M113854</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-05T14:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.EXCELXP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451537#M113857</link>
      <description>&lt;P&gt;please look at this example&lt;/P&gt;&lt;P&gt;the file name is&amp;nbsp; .xls and not .xml as you said&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;ODS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tagsets.excelXP options (sheet_name=&lt;/SPAN&gt;&lt;SPAN class="text1041Font3"&gt;'disease by sex'&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;file&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font3"&gt;"C:\Temp\SASSI\examp10a.xls"&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;PROC&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font4"&gt;TABULATE&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font1"&gt;data&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;=sassi.examp10a;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;disease sex;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;TABLES&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;disease, sex*n;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;RUN&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;ODS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tagsets.excelxp&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font1"&gt;close&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451537#M113857</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2018-04-05T14:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.EXCELXP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451552#M113869</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;please look at this example&lt;/P&gt;
&lt;P&gt;the file name is&amp;nbsp; .xls and not .xml as you said&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;ODS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tagsets.excelXP options (sheet_name=&lt;/SPAN&gt;&lt;SPAN class="text1041Font3"&gt;'disease by sex'&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;file&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font3"&gt;"C:\Temp\SASSI\examp10a.xls"&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;PROC&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font4"&gt;TABULATE&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font1"&gt;data&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;=sassi.examp10a;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;disease sex;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;TABLES&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;disease, sex*n;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;RUN&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;ODS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tagsets.excelxp&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font1"&gt;close&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The file name and extension is set by the user. &lt;STRONG&gt;The file generated by ODS TAGSETS.EXCELXP is an xml file regardless of the extension&lt;/STRONG&gt;. The rational for naming it xls is to basically trick Excel into opening the file, though it's starting to run into issues with newer versions of Excel. It's an older technology that works still, but ODS EXCEL will overtake it soon enough.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excel files (xslx) are simply zipped xml. You can change the extension to .zip, unzip and see the components if desired.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 15:05:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451552#M113869</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-05T15:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.EXCELXP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451701#M113926</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;please look at this example&lt;/P&gt;
&lt;P&gt;the file name is&amp;nbsp; .xls and not .xml as you said&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;ODS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tagsets.excelXP options (sheet_name=&lt;/SPAN&gt;&lt;SPAN class="text1041Font3"&gt;'disease by sex'&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;file&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font3"&gt;"C:\Temp\SASSI\examp10a.xls"&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;PROC&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font4"&gt;TABULATE&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font1"&gt;data&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;=sassi.examp10a;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;disease sex;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;TABLES&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;disease, sex*n;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font4"&gt;RUN&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font2"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;ODS&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tagsets.excelxp&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font1"&gt;close&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The extension in the windows world &lt;STRONG&gt;may&lt;/STRONG&gt; be set so that a specified program will attempt to open the file. When the actual contents is different than the associated program expects the results may be undesired. In the example you have if change the file to&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font1"&gt;file&lt;/SPAN&gt;&lt;SPAN class="text1041Font2"&gt;=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="text1041Font3"&gt;"C:\Temp\SASSI\examp10a.RTF" then Word (most likely will attempt to open the file. Try it (changing only the XLS to RTF or DOC). Then try with DOCX. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font3"&gt;Then try with PDF. Then HTML.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="text1041Font3"&gt;Note that different programs or expectations generate different types of errors or partially legible results. Moral of the story: Do not lie to your computer and use the correct file extension. You can set Excel to be the default program for opening XML and things will generally work just fine and no annoying messages about mismatched names or content conversion.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:40:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-EXCELXP/m-p/451701#M113926</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-05T21:40:54Z</dc:date>
    </item>
  </channel>
</rss>

