<?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: SAS DDE to Excel 2013 freezes SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290807#M60222</link>
    <description>&lt;P&gt;That adds a manual step into the process...which is usually what DDE/automation is intended to avoid&amp;nbsp;&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://communities.sas.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2016 19:46:30 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-08-10T19:46:30Z</dc:date>
    <item>
      <title>SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290384#M60087</link>
      <description>&lt;P&gt;I am using SAS 9.4 in a server environment in Windows 7. I was able to use DDE to write to excel for the first time, but subsequently, the excel file opens up but empty and SAS freezes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the code I am using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options noxsync noxwait;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc freq data=sashelp.class;&lt;BR /&gt; tables age/out=age_freq nocum;&lt;BR /&gt; tables height/out=height_freq nocum;&lt;BR /&gt; tables weight/out=weight_freq nocum;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data age_freq;&lt;BR /&gt;set age_freq (drop=count);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data height_freq;&lt;BR /&gt;set height_freq (drop=count obs=6);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data weight_freq;&lt;BR /&gt;set weight_freq (drop=count obs=6);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;x '"E:\testfolder\test.xlsx"';&lt;/P&gt;
&lt;P&gt;filename example dde "excel|sheet1!r3c2:r8c3" notab;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;set age_freq;&lt;BR /&gt;file example dlm="09"x;&lt;BR /&gt;put age percent;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 08:13:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290384#M60087</guid>
      <dc:creator>sasmaverick</dc:creator>
      <dc:date>2016-08-09T08:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290386#M60089</link>
      <description>&lt;P&gt;I am not in the least bit surprised, it doesn't work at all on our setup. &amp;nbsp;Basically DDE is very old, well over 15 years old and has been discontinued for 10 years or more. &amp;nbsp;I would advise that you look into creating your excel report using libname excel or tagsets.excelxp, far more control and uses the latest technology. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 08:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290386#M60089</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-09T08:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290393#M60093</link>
      <description>&lt;P&gt;Does Excel open with any warnings? If so, that'll lock up the process. Try just opening Excel file and ending program there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 08:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290393#M60093</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-09T08:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290396#M60096</link>
      <description>Yes. Actually the MS Office on server is expired and opens with warning. Is&lt;BR /&gt;there a workaround to this?&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Tue, 09 Aug 2016 09:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290396#M60096</guid>
      <dc:creator>sasmaverick</dc:creator>
      <dc:date>2016-08-09T09:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290402#M60102</link>
      <description>&lt;P&gt;Actually I was able to use DDE for the first time. And it does work every now and then but not consistently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would be the best way to control which row and which cell (specify a range) I write to in excel. Note: I &lt;STRONG&gt;do not&lt;/STRONG&gt; have a SAS ACCESS license at my workplace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 09:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290402#M60102</guid>
      <dc:creator>sasmaverick</dc:creator>
      <dc:date>2016-08-09T09:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290407#M60106</link>
      <description>&lt;P&gt;Pushing data to specific fields in Excel will be risky business regardless of technique.&lt;/P&gt;
&lt;P&gt;So I would prefer a pull strategy:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Write an VB or similar application in Excel to retrieve&amp;nbsp;data from a SAS server - would&amp;nbsp;require some sort of SAS server license&lt;/LI&gt;
&lt;LI&gt;Use SAS Add-in for MS Office - separate&amp;nbsp;licensed&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 09 Aug 2016 10:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290407#M60106</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-08-09T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290412#M60107</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/27005"&gt;@sasmaverick&lt;/a&gt; wrote:&lt;BR /&gt;Yes. Actually the MS Office on server is expired and opens with warning. Is&lt;BR /&gt;there a workaround to this?&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Get a valid copy of MS Office?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Google "Rich Poor Proc Export" for a custom macro that uses VB that some users have written. It allows you to export to specific ranges/cells if that's all your using DDE for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 10:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290412#M60107</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-09T10:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290570#M60141</link>
      <description>&lt;P&gt;I also use SAS 9.4 (workstation) and use DDE to interact with Excel 2013. I find the same problem as the OP, but typically this only occurs when either Word or Internet Explorer (I can't remember which) is also open on the same machine. Try closing these programs and re-running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Doug Fuller&lt;/P&gt;&lt;P&gt;Senior Research Analyst&lt;/P&gt;&lt;P&gt;Arbor Research Collaborative for Health&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 20:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290570#M60141</guid>
      <dc:creator>dhowser98</dc:creator>
      <dc:date>2016-08-09T20:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290805#M60220</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had to keep the Excel file open all the time and then run the code, which worked for me!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:44:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290805#M60220</guid>
      <dc:creator>sasmaverick</dc:creator>
      <dc:date>2016-08-10T19:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE to Excel 2013 freezes SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290807#M60222</link>
      <description>&lt;P&gt;That adds a manual step into the process...which is usually what DDE/automation is intended to avoid&amp;nbsp;&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://communities.sas.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DDE-to-Excel-2013-freezes-SAS/m-p/290807#M60222</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-10T19:46:30Z</dc:date>
    </item>
  </channel>
</rss>

