<?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: XLS via ODS statements in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XLS-via-ODS-statements/m-p/108525#M9976</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; I notice that you open ODS HTML, but you close ODS HTML3? I assume that is a typo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm not sure what popup box you mean -- is this one of the Windows popups? I used to see one all the time with RTF or PDF output -- &lt;A href="http://support.sas.com/kb/9/627.html" title="http://support.sas.com/kb/9/627.html"&gt;http://support.sas.com/kb/9/627.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/13/128.html"&gt;http://support.sas.com/kb/13/128.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sometimes you can stop that from happening by going to Tools--&amp;gt;Options--&amp;gt;Preferences--&amp;gt;Results and turning OFF the "view results as they are generated" choice. But I haven't seen those type of messages in a while. But, as I said, I never saw this popup with ODS HTML output, so this is unusual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Or, if you have Excel 2007 or 2010, you might be seeing popup messages that says&lt;/P&gt;&lt;P&gt;"The file that you are trying to open "&lt;EM&gt;file&lt;/EM&gt;" is in a different format than&amp;nbsp;&amp;nbsp; specified by the file extension. Verify that the file is not corrupted and is from a&amp;nbsp; trusted source before opening the file. Do you want to open the file now?"&lt;/P&gt;&lt;P&gt;&amp;nbsp; This Tech Support note describes the note with ODS MSOFFICE2K and ODS TAGSETS.EXCELXP but you could also get it with ODS HTML or ODS HTML3:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/31/956.html" title="http://support.sas.com/kb/31/956.html"&gt;http://support.sas.com/kb/31/956.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The reason for this second message is that when you use ODS HTML, ODS HTML3 or ODS MSOFFICE2K you are NOT creating a true, binary .XLS file in the proprietary Excel structure. You are merely creating an HTML file that Excel knows how to open and render. You are fooling the Windows registry into launching Excel when you double click because the registry has the .xls file extension associated with Excel. The true file extension for your file, when created with ODS should be .HTML or .HTM -- but then Windows would launch a browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ODS is creating an HTML file for you. You name it .XLS to launch Excel. That does not change the underlying fact that if you open the file with Notepad you will see HTML tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So, depending on what message you're seeing the fix might be one of two different things. If you're not seeing either of the above popup messages, then it might be good to work with Tech Support. If it is a popup that is new or a new situation, they can modify an existing note or issue a new note to help other folks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 13:37:57 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-08-30T13:37:57Z</dc:date>
    <item>
      <title>XLS via ODS statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XLS-via-ODS-statements/m-p/108524#M9975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;dear all,&lt;/P&gt;&lt;P&gt;on SAS PC 9.2 I create an XLS with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;ODS&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;LISTING&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;close&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;ods &lt;/SPAN&gt;&lt;SPAN style="color: fuchsia; font-size: 9pt; font-family: 'Courier New';"&gt;html&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; file="\\....\HU&lt;/SPAN&gt;&lt;SPAN style="color: fuchsia; font-size: 9pt; font-family: 'Courier New';"&gt;.xls&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;" rs=none style=seasideprinter;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;ODS&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;HTML3&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;close&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;ODS&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;LISTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, at the end of the program I always get the&amp;nbsp; POPUP box (with &amp;lt;open&amp;gt; &amp;lt;save&amp;gt;) after creation?&lt;/P&gt;&lt;P&gt;HOW to avoid this popup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GreetZ,&lt;/P&gt;&lt;P&gt;Herman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 13:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/XLS-via-ODS-statements/m-p/108524#M9975</guid>
      <dc:creator>Jaheuk</dc:creator>
      <dc:date>2012-08-30T13:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: XLS via ODS statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XLS-via-ODS-statements/m-p/108525#M9976</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; I notice that you open ODS HTML, but you close ODS HTML3? I assume that is a typo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm not sure what popup box you mean -- is this one of the Windows popups? I used to see one all the time with RTF or PDF output -- &lt;A href="http://support.sas.com/kb/9/627.html" title="http://support.sas.com/kb/9/627.html"&gt;http://support.sas.com/kb/9/627.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/13/128.html"&gt;http://support.sas.com/kb/13/128.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sometimes you can stop that from happening by going to Tools--&amp;gt;Options--&amp;gt;Preferences--&amp;gt;Results and turning OFF the "view results as they are generated" choice. But I haven't seen those type of messages in a while. But, as I said, I never saw this popup with ODS HTML output, so this is unusual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Or, if you have Excel 2007 or 2010, you might be seeing popup messages that says&lt;/P&gt;&lt;P&gt;"The file that you are trying to open "&lt;EM&gt;file&lt;/EM&gt;" is in a different format than&amp;nbsp;&amp;nbsp; specified by the file extension. Verify that the file is not corrupted and is from a&amp;nbsp; trusted source before opening the file. Do you want to open the file now?"&lt;/P&gt;&lt;P&gt;&amp;nbsp; This Tech Support note describes the note with ODS MSOFFICE2K and ODS TAGSETS.EXCELXP but you could also get it with ODS HTML or ODS HTML3:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/31/956.html" title="http://support.sas.com/kb/31/956.html"&gt;http://support.sas.com/kb/31/956.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The reason for this second message is that when you use ODS HTML, ODS HTML3 or ODS MSOFFICE2K you are NOT creating a true, binary .XLS file in the proprietary Excel structure. You are merely creating an HTML file that Excel knows how to open and render. You are fooling the Windows registry into launching Excel when you double click because the registry has the .xls file extension associated with Excel. The true file extension for your file, when created with ODS should be .HTML or .HTM -- but then Windows would launch a browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ODS is creating an HTML file for you. You name it .XLS to launch Excel. That does not change the underlying fact that if you open the file with Notepad you will see HTML tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So, depending on what message you're seeing the fix might be one of two different things. If you're not seeing either of the above popup messages, then it might be good to work with Tech Support. If it is a popup that is new or a new situation, they can modify an existing note or issue a new note to help other folks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 13:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/XLS-via-ODS-statements/m-p/108525#M9976</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-08-30T13:37:57Z</dc:date>
    </item>
  </channel>
</rss>

