<?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 ODS- Saving Excel file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118123#M10315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am using ODS HTML and ODS TAGSETS to create&amp;nbsp; Excel files.&amp;nbsp; I am facing problem when opening output excel.&lt;/P&gt;&lt;P&gt;Whenever I open the excel sheet i have pop up stating "&lt;STRONG&gt;You are trying to open,filename.xls&amp;nbsp; is in a different format than specified by file extension&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;I get this error as SAS store data in HTML format. Is there any way to avoid getting this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 09:26:47 GMT</pubDate>
    <dc:creator>KarthikR</dc:creator>
    <dc:date>2012-09-11T09:26:47Z</dc:date>
    <item>
      <title>ODS- Saving Excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118123#M10315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am using ODS HTML and ODS TAGSETS to create&amp;nbsp; Excel files.&amp;nbsp; I am facing problem when opening output excel.&lt;/P&gt;&lt;P&gt;Whenever I open the excel sheet i have pop up stating "&lt;STRONG&gt;You are trying to open,filename.xls&amp;nbsp; is in a different format than specified by file extension&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;I get this error as SAS store data in HTML format. Is there any way to avoid getting this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 09:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118123#M10315</guid>
      <dc:creator>KarthikR</dc:creator>
      <dc:date>2012-09-11T09:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: ODS- Saving Excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118124#M10316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was already discussed in&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="40494" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/" modifiedtitle="true" title="Re: tagsets.excelxp"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;https : // communities . sas . com / message/40494#40494&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 09:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118124#M10316</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2012-09-11T09:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS- Saving Excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118125#M10317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the link. I just have a query.&lt;/P&gt;&lt;P&gt; Is there any other way to create Excel files directly?&amp;nbsp; I do not want HTML output to be saved in XLS format as&amp;nbsp; i need to change to XML to make it work fine &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 09:53:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118125#M10317</guid>
      <dc:creator>KarthikR</dc:creator>
      <dc:date>2012-09-11T09:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS- Saving Excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118126#M10318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; That message is Microsoft's way of letting you know that it wants you to use the "correct" file extension for output. So, technically, they are correct, ODS HTML creates HTML files and ODS TAGSETS.EXCELXP creates XML files. ODS creates ASCII text files that Excel knows how to open and render. When you use ODS methods, using .XLS as the file extension only "fools" the Windows registry into launching Excel when the file opens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The only way to create true, binary, proprietary Microsoft Excel files in proprietary Microsoft format is to use PROC EXPORT or the LIBNAME engine for Excel. In this case, you do not have any cosmetics (colors, fonts, titles, etc) because you are in "data-to-data" export mode using these methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp; BTW, XML is a valid file extension for Excel. So if you name the file with .XML (instead of .XLS), you will NOT get the Microsoft message on file open anymore. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 17:18:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Saving-Excel-file/m-p/118126#M10318</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-09-11T17:18:35Z</dc:date>
    </item>
  </channel>
</rss>

