<?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 data from sas 9.1 to excel 2007 Using dde in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-from-sas-9-1-to-excel-2007-Using-dde/m-p/465535#M118744</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132922"&gt;@Raitag&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Before implementing new code using DDE you probably should read this article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2014/10/14/dde-is-doa/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2014/10/14/dde-is-doa/&lt;/A&gt; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 May 2018 23:12:28 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2018-05-28T23:12:28Z</dc:date>
    <item>
      <title>Exporting data from sas 9.1 to excel 2007 Using dde</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-from-sas-9-1-to-excel-2007-Using-dde/m-p/465455#M118720</link>
      <description>Hey everyone !&lt;BR /&gt;I 'm trying to export some data from sas to excel using dde. Here is my code :&lt;BR /&gt;&lt;BR /&gt;Options noxwait noxsync ;&lt;BR /&gt;X ' start excel' ;&lt;BR /&gt;&lt;BR /&gt;Data _null_ ;&lt;BR /&gt;Rc = sleep(3);&lt;BR /&gt;Run ;&lt;BR /&gt;/* openning my xls file : note that i created a xls file */&lt;BR /&gt;&lt;BR /&gt;Filename export dde "excel|system" ;&lt;BR /&gt;Data _null_ ;&lt;BR /&gt;File export ;&lt;BR /&gt;Put '[open("filepath\filename.xls")]';&lt;BR /&gt;Run ;&lt;BR /&gt;&lt;BR /&gt;/*Selecting the range in my xls file where to export data */&lt;BR /&gt;&lt;BR /&gt;Filename range dde "excel|sheet1! R1c1:r2c67" ;&lt;BR /&gt;&lt;BR /&gt;Data _null_ ;&lt;BR /&gt;Set sashelp.workers ;&lt;BR /&gt;File range ;&lt;BR /&gt;Put date electric /* columns to export */ ;&lt;BR /&gt;Run ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When i open my xls file nothing is exported,the file is empty but the log says that everything is exported as it should be. I can't figure why, can you help me ?&lt;BR /&gt;&lt;BR /&gt;Ps : i work with sas 9.1 and excel 2007 ( the file is a xlsx saved as xls)&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 May 2018 11:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-from-sas-9-1-to-excel-2007-Using-dde/m-p/465455#M118720</guid>
      <dc:creator>Raitag</dc:creator>
      <dc:date>2018-05-28T11:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from sas 9.1 to excel 2007 Using dde</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-from-sas-9-1-to-excel-2007-Using-dde/m-p/465512#M118740</link>
      <description>&lt;P&gt;You have a command to open the file, but I don't see one to save the file.&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 17:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-from-sas-9-1-to-excel-2007-Using-dde/m-p/465512#M118740</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-05-28T17:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from sas 9.1 to excel 2007 Using dde</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-data-from-sas-9-1-to-excel-2007-Using-dde/m-p/465535#M118744</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132922"&gt;@Raitag&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Before implementing new code using DDE you probably should read this article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2014/10/14/dde-is-doa/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2014/10/14/dde-is-doa/&lt;/A&gt; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 23:12:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-data-from-sas-9-1-to-excel-2007-Using-dde/m-p/465535#M118744</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-05-28T23:12:28Z</dc:date>
    </item>
  </channel>
</rss>

