<?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 Warning while trying to open an excel file generated by ODS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147281#M11472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to generate an excel file with this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html file="/home/&amp;amp;x rpt.xls" headtext="&amp;lt;style&amp;gt;&lt;/P&gt;&lt;P&gt;td {mso-number-format:\@}&amp;lt;/style&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data=&amp;amp;x uniform label;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;x is the macro that resolves to a name of a table.&lt;/P&gt;&lt;P&gt;When i generate this file on a unix box and copy the excel to a windows box and&amp;nbsp; try to open it, I get warning:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The file you are trying to open is in a different format than specified by the extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click 'Yes', it opens fine.&lt;/P&gt;&lt;P&gt;My guess is that it is because in the ods, i say html and then save it as xls.. How to get around it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2014 18:04:09 GMT</pubDate>
    <dc:creator>eagles_dare13</dc:creator>
    <dc:date>2014-05-06T18:04:09Z</dc:date>
    <item>
      <title>Warning while trying to open an excel file generated by ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147281#M11472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to generate an excel file with this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html file="/home/&amp;amp;x rpt.xls" headtext="&amp;lt;style&amp;gt;&lt;/P&gt;&lt;P&gt;td {mso-number-format:\@}&amp;lt;/style&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data=&amp;amp;x uniform label;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;x is the macro that resolves to a name of a table.&lt;/P&gt;&lt;P&gt;When i generate this file on a unix box and copy the excel to a windows box and&amp;nbsp; try to open it, I get warning:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The file you are trying to open is in a different format than specified by the extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click 'Yes', it opens fine.&lt;/P&gt;&lt;P&gt;My guess is that it is because in the ods, i say html and then save it as xls.. How to get around it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 18:04:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147281#M11472</guid>
      <dc:creator>eagles_dare13</dc:creator>
      <dc:date>2014-05-06T18:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Warning while trying to open an excel file generated by ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147282#M11473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because of the new Excel security feature beginning with Excel 2007 that matches the content and the extension. You can use the ExcelXP tagset and use the.XML extension, otherwise it would take a registry change to prevent the warning. See the below for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="padding: 0px 5px;"&gt;&lt;A href="http://support.sas.com/kb/31956" target="_blank"&gt;http://support.sas.com/kb/31956&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 18:11:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147282#M11473</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2014-05-06T18:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Warning while trying to open an excel file generated by ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147283#M11474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. But i was hoping for an excel file and not an xml file &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; as output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 18:52:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147283#M11474</guid>
      <dc:creator>eagles_dare13</dc:creator>
      <dc:date>2014-05-06T18:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Warning while trying to open an excel file generated by ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147284#M11475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of the ODS destinations generate a "native" excel file.&lt;/P&gt;&lt;P&gt;You can convert it on the windows side, not sure about Unix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/43/496.html" title="http://support.sas.com/kb/43/496.html"&gt;43496 - Convert files created using an ODS destination to native Excel files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to be just a proc print, so why doesn't a proc export work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 19:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-while-trying-to-open-an-excel-file-generated-by-ODS/m-p/147284#M11475</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-06T19:10:26Z</dc:date>
    </item>
  </channel>
</rss>

