<?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: Exporting from SAS 9.3 creates a corrupted Excel file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80836#M17404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think so - the file is saved on my machine as .xls and we are all using Office 2007 - the only difference is my machine hasn't been upgraged to Windows 7 yet and is still running on XP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 15:34:16 GMT</pubDate>
    <dc:creator>MarkRoberts</dc:creator>
    <dc:date>2013-01-21T15:34:16Z</dc:date>
    <item>
      <title>Exporting from SAS 9.3 creates a corrupted Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80834#M17402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running SAS 9.3 and Excel 2007 on Windows XP&amp;nbsp; - and have recently encountered a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a number of overnight jobs that creates simple output for various members of the business - and have traditionally out put this to an excel file that is then sent to the relevant parties as part of the SAS job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently a number of people have complained that the file is corrupt - however I can open the file no problems and have been copying the output into another file and emailing it to them once I get into work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not a valid long term solution as its a painful task for me and relies on me being in work to be able to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some searching around - it appeared to be a problem with other members running Windows 7 and some issue with Excel 2007.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution seemed to be to uninstall and install SAS PC server - I did this to no avail - also from a recent test I did with a colleague (non SAS literate) they could open the file and they are running Windows 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any experience or help that might shed light on this?&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>Mon, 21 Jan 2013 14:06:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80834#M17402</guid>
      <dc:creator>MarkRoberts</dc:creator>
      <dc:date>2013-01-21T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting from SAS 9.3 creates a corrupted Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80835#M17403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've not encountered any problems, either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given that you can open the file, could it be that SAS is exporting it as .xlsx, but the others can only read .xls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 15:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80835#M17403</guid>
      <dc:creator>mfisher</dc:creator>
      <dc:date>2013-01-21T15:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting from SAS 9.3 creates a corrupted Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80836#M17404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think so - the file is saved on my machine as .xls and we are all using Office 2007 - the only difference is my machine hasn't been upgraged to Windows 7 yet and is still running on XP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 15:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80836#M17404</guid>
      <dc:creator>MarkRoberts</dc:creator>
      <dc:date>2013-01-21T15:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting from SAS 9.3 creates a corrupted Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80837#M17405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the ExcelXP tagset to write the Excel report?&amp;nbsp; Remember that the tagset writes the output as .xml, not as .xls no matter which extension you specify on your output.&amp;nbsp; The Windoze 7 machines may have a problem with the xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try converting the xml file to a real xls file before you send them using this trick: &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;At least you won't have to do the conversion manually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 15:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80837#M17405</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2013-01-21T15:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting from SAS 9.3 creates a corrupted Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80838#M17406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also generally have to output our sas data, and then share with other people. We export it in csv. If we have consolidate all the outputs &amp;amp; create a report, then we have vba macros to do that. This way we generally bypass the issues you mentioned. Not a exact answer to your question, but just tried to give an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 16:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80838#M17406</guid>
      <dc:creator>newbie_ari</dc:creator>
      <dc:date>2013-01-21T16:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting from SAS 9.3 creates a corrupted Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80839#M17407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up just using a CSV file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 10:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-from-SAS-9-3-creates-a-corrupted-Excel-file/m-p/80839#M17407</guid>
      <dc:creator>MarkRoberts</dc:creator>
      <dc:date>2013-01-22T10:54:56Z</dc:date>
    </item>
  </channel>
</rss>

