<?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: Creating Excel 2007 files using ODS on Linux in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74131#M8445</link>
    <description>Thanks for the reply.&lt;BR /&gt;
&lt;BR /&gt;
I have done more reading since posting this.  Now I understand that - just because the file has the extension (.XLS) does not mean that it created an Excel file.  It created an ASCII file that I can open in Excel.  In testing we changed the extension to (.XLSX) on the Linux side, the file could not be opened in Excel anymore.  It gave us a warning, we clicked OK, but nothing opened. &lt;BR /&gt;
&lt;BR /&gt;
So we put it back to (.XLS) and now staying with that.  Once we get the file over to the PC side,  I suggested writing code that would save the file as an (.XLSX) file.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Nancy</description>
    <pubDate>Wed, 07 Apr 2010 16:10:43 GMT</pubDate>
    <dc:creator>SASHunter</dc:creator>
    <dc:date>2010-04-07T16:10:43Z</dc:date>
    <item>
      <title>Creating Excel 2007 files using ODS on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74129#M8443</link>
      <description>I know your going to say - I should be able to find this on SAS's website, but I haven't quite found what I am looking for.  &lt;BR /&gt;
&lt;BR /&gt;
We are on the Linux machine and the version of SAS is 'SAS 9.2 TS Level 2MO&lt;BR /&gt;
&lt;BR /&gt;
We want to create a Excel file (version 2007) on the Linux that we can ftp to the PC and open in Excel 2007.  How do I do this is ODS?&lt;BR /&gt;
&lt;BR /&gt;
The current code we use is like this:&lt;BR /&gt;
&lt;BR /&gt;
ods noresults;&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods html body="$DATA/&amp;amp;mmm&amp;amp;yy.summary_rpt.xls";&lt;BR /&gt;
&lt;BR /&gt;
...&lt;BR /&gt;
&lt;BR /&gt;
ods html close;&lt;BR /&gt;
ods listing;&lt;BR /&gt;
&lt;BR /&gt;
Can I change the extension on the summary_rpt.xls to 'summary_rpt.xlsx' and once I ftp to the PC open in Excel 2007?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Nancy</description>
      <pubDate>Wed, 07 Apr 2010 15:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74129#M8443</guid>
      <dc:creator>SASHunter</dc:creator>
      <dc:date>2010-04-07T15:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Excel 2007 files using ODS on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74130#M8444</link>
      <description>You can most definitely open an "XLS" type Excel document in Excel 2007 - the file does not need to have an "XLSX" extension.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic/post:&lt;BR /&gt;
&lt;BR /&gt;
+ods +"excel 2007" site:sas.com</description>
      <pubDate>Wed, 07 Apr 2010 15:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74130#M8444</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-04-07T15:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Excel 2007 files using ODS on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74131#M8445</link>
      <description>Thanks for the reply.&lt;BR /&gt;
&lt;BR /&gt;
I have done more reading since posting this.  Now I understand that - just because the file has the extension (.XLS) does not mean that it created an Excel file.  It created an ASCII file that I can open in Excel.  In testing we changed the extension to (.XLSX) on the Linux side, the file could not be opened in Excel anymore.  It gave us a warning, we clicked OK, but nothing opened. &lt;BR /&gt;
&lt;BR /&gt;
So we put it back to (.XLS) and now staying with that.  Once we get the file over to the PC side,  I suggested writing code that would save the file as an (.XLSX) file.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Nancy</description>
      <pubDate>Wed, 07 Apr 2010 16:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74131#M8445</guid>
      <dc:creator>SASHunter</dc:creator>
      <dc:date>2010-04-07T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Excel 2007 files using ODS on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74132#M8446</link>
      <description>Hi:&lt;BR /&gt;
  ODS HTML, ODS CSV and ODS TAGSETS.EXCELXP all create different types of ASCII text files (HTML, comma-separated and Spreadsheet Markup Language XML) that can be opened and rendered with Excel. The XML created by TAGSETS.EXCELXP is Office SpreadsheetML version 2002/2003.&lt;BR /&gt;
&lt;BR /&gt;
  The new .XLSX files are a different type of XML -- in fact, an XLSX file is not actually ONE file, it is an archive of files. If you perform the "experiment" described in this previous post:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=18646䣖" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=18646䣖&lt;/A&gt;&lt;BR /&gt;
of renaming an XLSX file with the extension .ZIP, you will see the new structure.&lt;BR /&gt;
 &lt;BR /&gt;
  Microsoft is very picky about which file extensions you use -- so naming an HTML file with a .XLSX extension is not going to make Microsoft happy to open the file. With Office 2007 in particular, even naming an HTML file with a .XLS extension or naming a 2003 XML file with a .XLSX extension causes Excel to complain upon opening the file.&lt;BR /&gt;
&lt;BR /&gt;
  Your approach of creating the HTML file and then having a program do a SAVE to the format you want is a good approach. Or you could educate your users ....&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 10 Apr 2010 14:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74132#M8446</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-10T14:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Excel 2007 files using ODS on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74133#M8447</link>
      <description>Thanks for your reply.  &lt;BR /&gt;
&lt;BR /&gt;
I have seen the .zip files inside .xls files.  I have worked with the Ribbon in Excel 2007 to create new ribbons, so I have to modify the customUI file inside the .zip file.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks so much.  &lt;BR /&gt;
Nancy&lt;BR /&gt;
&lt;BR /&gt;
Each day I learn something new.</description>
      <pubDate>Mon, 12 Apr 2010 13:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Excel-2007-files-using-ODS-on-Linux/m-p/74133#M8447</guid>
      <dc:creator>SASHunter</dc:creator>
      <dc:date>2010-04-12T13:04:12Z</dc:date>
    </item>
  </channel>
</rss>

