<?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: Excel file not created using MSOFFICE2K and .xls extension in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287561#M16478</link>
    <description>Here's some more background. When you use MSOFFICE2K, you are not creating an Excel proprietary file just because you use an extension of .XLS and even with the Content-type header, Excel knows, when it goes to open the file that the "true" inner workings of the file are HTML and you are trying to "fool Excel" by naming the file XLS. Ever since Office 2007, you will get that snarky message from Excel when you try to open an HTML file that has been named as .XLS instead of .HTML. The only way to avoid the snarky message from Excel is to change the Windows registry, which is generally frowned upon or to do what you are doing and Save AS xls or just educate your users to click Yes when they get the message about the mismatch between the extension and the actual file contents.&lt;BR /&gt; &lt;BR /&gt;cynthia&lt;BR /&gt;And, when you can use ODS EXCEL, you won't get that snarky message anymore. (something to look forward to)</description>
    <pubDate>Wed, 27 Jul 2016 18:36:31 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-07-27T18:36:31Z</dc:date>
    <item>
      <title>Excel file not created using MSOFFICE2K and .xls extension</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287535#M16475</link>
      <description>&lt;P&gt;We have been using the MSOFFICE2K tagset to generate and stream&amp;nbsp;.xls files with _WEBOUT in a stored process. Although we received the dialog box warning that the format of the file is not as expected our users were okay with responding Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, after the most recent Microsoft Office 2013 updates were applied to all of our computers this doesn't work anymore. Excel does open when we select to open the file but all we get is a blank gray screen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are on SAS 9.4 M2 so ODS EXCEL is not fully supported. Any suggestions as to what may be happening after this update from Microsoft?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_null_&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; rc = stpsrv_header(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Content-type'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'application/vnd.ms-excel'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; rc = stpsrv_header(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Content-disposition'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'attachment; filename=Dept_list_courses.xls'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ODS&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LISTING&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;CLOSE&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ODS&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; tagsets.msoffice2k &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BODY&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=_webout &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=seaside;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;-proc report code follows-&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 17:37:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287535#M16475</guid>
      <dc:creator>UCFAngel</dc:creator>
      <dc:date>2016-07-27T17:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file not created using MSOFFICE2K and .xls extension</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287545#M16476</link>
      <description>&lt;P&gt;1. Check your Trust Center settings&lt;/P&gt;
&lt;P&gt;2. Try downloading a file and opening from within Excel - this isn't workable long term but if you get a warning or note it may help diagnose the problem&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 17:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287545#M16476</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-27T17:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file not created using MSOFFICE2K and .xls extension</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287551#M16477</link>
      <description>&lt;P&gt;I compared the Trust Center settings to those on a computer that does not have the update applied and they are the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to save the file from the web, instead of open, and then open it successfully in Excel. Some users have said that it didn't work for them, however. This solution will work temporarily until we can upgrade to SAS 9.4 M3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much for your suggestions.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 18:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287551#M16477</guid>
      <dc:creator>UCFAngel</dc:creator>
      <dc:date>2016-07-27T18:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Excel file not created using MSOFFICE2K and .xls extension</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287561#M16478</link>
      <description>Here's some more background. When you use MSOFFICE2K, you are not creating an Excel proprietary file just because you use an extension of .XLS and even with the Content-type header, Excel knows, when it goes to open the file that the "true" inner workings of the file are HTML and you are trying to "fool Excel" by naming the file XLS. Ever since Office 2007, you will get that snarky message from Excel when you try to open an HTML file that has been named as .XLS instead of .HTML. The only way to avoid the snarky message from Excel is to change the Windows registry, which is generally frowned upon or to do what you are doing and Save AS xls or just educate your users to click Yes when they get the message about the mismatch between the extension and the actual file contents.&lt;BR /&gt; &lt;BR /&gt;cynthia&lt;BR /&gt;And, when you can use ODS EXCEL, you won't get that snarky message anymore. (something to look forward to)</description>
      <pubDate>Wed, 27 Jul 2016 18:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-file-not-created-using-MSOFFICE2K-and-xls-extension/m-p/287561#M16478</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-27T18:36:31Z</dc:date>
    </item>
  </channel>
</rss>

