<?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: How to convert XML files to XLS (Excel 2003)? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159212#M31056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for bringing up this topic again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can the code from &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/43/496.html" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba; background-color: #ffffff;"&gt;43496 - Convert files created using an ODS destination to native Excel files&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;be edited in a way that a specific file is converted, and not all the files from a folder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thank you!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 00:00:37 GMT</pubDate>
    <dc:creator>angeliquec</dc:creator>
    <dc:date>2014-11-13T00:00:37Z</dc:date>
    <item>
      <title>How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159200#M31044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I would like to know how we can convert XML files to XLS by SAS code. We do not want manual opening of XML files in excel then doing Save As Excel 2003 (xls) because there are a lot of files to be converted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The guide in this link (&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;) converts XML to XLSX, not XLS. Our end users still prefer the outputs in Excel 2003 format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 08:07:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159200#M31044</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2014-11-06T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159201#M31045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unless you run SAS on Windows and have ACCESS to PC Files licensed, you won't be able to directly write a .xls file.&lt;/P&gt;&lt;P&gt;With ACCESS to PC Files licensed on another platform, you may be able to do it with the PC Files Server which needs to be installed on a suitable Windows machine.&lt;/P&gt;&lt;P&gt;Bu you may be able to script the conversion process in Windows with Powershell or VB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 08:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159201#M31045</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-06T08:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159202#M31046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have SAS Access to PC Files installed. May I know where can I find a sample conversion script that converts XML to XLS? Apologies, I am not knowledgeable with Powershell or VB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 11:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159202#M31046</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2014-11-06T11:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159203#M31047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The macro in &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; has a check for Excelversion and then decides which name to use. Since all Excel versions can write .xls, have you tried to simply reduce that part so that it always does a save as .xls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 12:20:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159203#M31047</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-06T12:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159204#M31048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have tried reducing that part. The macro converts the XML to XLS but when the workbook is opened in Excel, I get the error message &lt;/P&gt;&lt;P&gt;The file format and extension of .xls don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found no issues with the produced xls file but I'm worried about the end users who will find the message suspicious and may not trust the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 12:28:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159204#M31048</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2014-11-06T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159205#M31049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use&lt;/P&gt;&lt;P&gt;oXL.ActiveWorkBook.SaveAs Left(aFile, Len(aFile) - 4) &amp;amp; "".xls"",56&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 56 seems to be crucial in determining the correct internal filetype, as in&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.rondebruin.nl/win/s5/win001.htm" title="http://www.rondebruin.nl/win/s5/win001.htm"&gt;Use VBA SaveAs in Excel 2007-2013&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 13:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159205#M31049</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-06T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159206#M31050</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;The reason you are getting that message box is not because of an error.&amp;nbsp; When opening a file with an extension which Excel expects, it does a pre-check to ensure the file is in its (proprietary) format.&amp;nbsp; Even if you have a perfectly fine XML document, Excel with read and interpret it, but still complain it isn't one of its file formats.&amp;nbsp; IMO I would create a small VBS script which opens your file and uses the Excel SaveAS function to create an Excel propriatory file format . Take a look at this thread where I give an example of this: &lt;A _jive_internal="true" href="https://communities.sas.com/thread/62554"&gt;https://communities.sas.com/thread/62554&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 13:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159206#M31050</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-06T13:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159207#M31051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe XLSX actually uses XML while XLS is another format. So just changing the extension leaves the XML and excel warns that something funny is going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An all sas solution would probably be to read the XML into a sas dataset then export the sas dataset to excel using a libname with excel engine or just a proc export step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is code that will search a folder (or a drive for that matter) for a certain file type (xml) then all you need to do is loop through all the files that are returned through the dataset creation and export phases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get you started here is some code I use to search a specific folder and exclude files with a tiff extension from the output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let folder = U:\Test; /*Folder you are looking in*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data txt_file (keep=file_name file row );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length file_name file $20 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc = filename("dir","&amp;amp;folder");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d = dopen("dir");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; n = dnum(d);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; do i = 1 to n;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_name = dread(d,i);&lt;/P&gt;&lt;P&gt;&amp;nbsp; file = scan(file_name,1,".",'R');&lt;/P&gt;&lt;P&gt;&amp;nbsp; row + 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if indexw(file_name,"Tiff")&amp;gt;0 then ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; else output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the beginning of the macro code that uses the output from above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp; select count(*) into: cnt&lt;/P&gt;&lt;P&gt;&amp;nbsp; from txt_file&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%do i = 1 %to &amp;amp;cnt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; proc sql noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp; select&amp;nbsp; strip(file_name), strip(file) into :fn, :f&lt;/P&gt;&lt;P&gt;&amp;nbsp; from txt_file&lt;/P&gt;&lt;P&gt;&amp;nbsp; where row = &amp;amp;i&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; date = strip(put(date(),weekdate.));&lt;/P&gt;&lt;P&gt;&amp;nbsp; time = strip(put(time(),timeampm.));&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symput('date',date);&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symput('time',time);&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put ***************************;&lt;/P&gt;&lt;P&gt;%put Date: &amp;amp;date;&lt;/P&gt;&lt;P&gt;%put Time: &amp;amp;time;&lt;/P&gt;&lt;P&gt;%put &amp;amp;i of %sysfunc(strip(&amp;amp;cnt)) : &amp;amp;fn ;&lt;/P&gt;&lt;P&gt;%put ***************************;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*PUT YOUR XML TO SAS HERE*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*PUT YOUR SAS TO XLS HERE*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gets you going in the right direction!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 13:06:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159207#M31051</guid>
      <dc:creator>esjackso</dc:creator>
      <dc:date>2014-11-06T13:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159208#M31052</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;Just to confirm, there is no "problem" with that.&amp;nbsp; All Excel is saying is hey, this isn't in my format (i.e. Zipped Open Office format or Proprietary binary file).&amp;nbsp; It does not alter the functionality.&amp;nbsp; Hence the suggestion to use a script to have Excel open, parse and then save the file in its own format.&amp;nbsp; To do it through SAS would mean that it gets parsed several times, e.g. import/export, which can influence the end product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 14:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159208#M31052</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-06T14:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159209#M31053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace this section of code:&lt;/P&gt;&lt;P&gt;" if (oXL.Version) &amp;gt;= 12 Then" ;&lt;/P&gt;&lt;P&gt;put " oXL.ActiveWorkBook.SaveAs Left(aFile, Len(aFile) - 4) &amp;amp; "".xlsx"",51";&lt;/P&gt;&lt;P&gt;put " Else";&lt;/P&gt;&lt;P&gt;put " oXL.ActiveWorkBook.SaveAs Left(aFile, Len(aFile) - 4) &amp;amp; "".xls"",-4143";&lt;/P&gt;&lt;P&gt;put " End If";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With only:&lt;/P&gt;&lt;P&gt;put " oXL.ActiveWorkBook.SaveAs Left(aFile, Len(aFile) - 4) &amp;amp; "".xls"",-4143";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does your error still appear? This&amp;nbsp; is saving the file as .xls rather than just a rename so I wouldn't expect to see an error about format type. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 15:24:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159209#M31053</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-06T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159210#M31054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kurt! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; oXL.ActiveWorkBook.SaveAs Left(aFile, Len(aFile) - 4) &amp;amp; "".xls"",56"; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 08:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159210#M31054</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2014-11-07T08:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159211#M31055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Reeza!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;put " oXL.ActiveWorkBook.SaveAs Left(aFile, Len(aFile) - 4) &amp;amp; "".xls"",-4143";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;worked.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 08:43:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159211#M31055</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2014-11-07T08:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159212#M31056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for bringing up this topic again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can the code from &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/43/496.html" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba; background-color: #ffffff;"&gt;43496 - Convert files created using an ODS destination to native Excel files&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;be edited in a way that a specific file is converted, and not all the files from a folder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thank you!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 00:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159212#M31056</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2014-11-13T00:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert XML files to XLS (Excel 2003)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159213#M31057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, but if you have only one file, why not manually do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 00:33:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-XML-files-to-XLS-Excel-2003/m-p/159213#M31057</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-13T00:33:09Z</dc:date>
    </item>
  </channel>
</rss>

