<?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: EXPORT SAS DDE doesn't communicate with windows 10 Excel 2016 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701860#M214942</link>
    <description>&lt;P&gt;&lt;SPAN&gt;DDE is a legacy method, and SAS does not encourage using DDE. Instead, consider using the SAS Add-In to MS Office or alternatives listed below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SAS programs that use DDE can still work, as long as you situate your SAS software and Microsoft Excel to run on the same Windows PC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here are some alternatives to DDE:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.sas.com/en/software/add-in-microsoft-office-support.html" target="_self"&gt;SAS Add-In for Microsoft Office&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Use Excel to pull your SAS content into the spreadsheet. You can use SAS stored processes to encapsulate whatever SAS operation you need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings11/012-2011.pdf" target="_blank"&gt;Office Scripting&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use Office scripting to automate the process like a batch job, so that the process can run unattended. Those who use your Excel documents do not need to install the SAS Add-In for Microsoft Office in order to view the results.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=n045uxf7ll2p5on1ly4at3vpd47e.htm&amp;amp;locale=en"&gt;PROC EXPORT&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;supports adding sheets to existing files or replacing entire sheets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;locale=en"&gt;ODS EXCEL&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For batch SAS users, ODS tagsets. ExcelXP and ODS EXCEL can be used to place formatted report content into an Excel spreadsheet. See ODS EXCEL for an example.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Scripts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;enables the use of scripts like VBS and PowerShell to plug SAS data results into a spreadsheet as a post-process, which users can spawn within their SAS programs.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Nov 2020 17:24:34 GMT</pubDate>
    <dc:creator>JOL</dc:creator>
    <dc:date>2020-11-26T17:24:34Z</dc:date>
    <item>
      <title>EXPORT SAS DDE doesn't communicate with windows 10 Excel 2016</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701817#M214929</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with the DDE export to generate a &lt;SPAN&gt;dashboard&lt;/SPAN&gt;, i used to work with this code below to open my excel file before Moving to Windows 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SYSTASK COMMAND "Start Excel";

Data _NULL_;
CALL SLEEP (5,1);
RUN;

/* Open excel */
filename xc dde 'excel|system';
DATA _null_ ;
 file xc;
  put '[ouvrir("file\Challenge.xlsx")]' ;
   t=sleep(5) ;
RUN ;&lt;/PRE&gt;&lt;P&gt;Now since&amp;nbsp;we&amp;nbsp;moved to Windows 10&amp;nbsp;even when i'm using&amp;nbsp;&amp;nbsp;the same PC SAS version 9.4 but Excel 2016. When I run the same code with the same dataset, the PC SAS gets hung for an eternity after a couple of seconds and then I have to just kill the process. Nothing happens to the open excel file. I can't even see the log since the PC SAS gets hung. Please suggest a solution for this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank u in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marwa&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 13:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701817#M214929</guid>
      <dc:creator>Marwa_Se</dc:creator>
      <dc:date>2020-11-26T13:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT SAS DDE doesn't communicate with windows 10 Excel 2016</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701860#M214942</link>
      <description>&lt;P&gt;&lt;SPAN&gt;DDE is a legacy method, and SAS does not encourage using DDE. Instead, consider using the SAS Add-In to MS Office or alternatives listed below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SAS programs that use DDE can still work, as long as you situate your SAS software and Microsoft Excel to run on the same Windows PC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here are some alternatives to DDE:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.sas.com/en/software/add-in-microsoft-office-support.html" target="_self"&gt;SAS Add-In for Microsoft Office&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Use Excel to pull your SAS content into the spreadsheet. You can use SAS stored processes to encapsulate whatever SAS operation you need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings11/012-2011.pdf" target="_blank"&gt;Office Scripting&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use Office scripting to automate the process like a batch job, so that the process can run unattended. Those who use your Excel documents do not need to install the SAS Add-In for Microsoft Office in order to view the results.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=proc&amp;amp;docsetTarget=n045uxf7ll2p5on1ly4at3vpd47e.htm&amp;amp;locale=en"&gt;PROC EXPORT&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;supports adding sheets to existing files or replacing entire sheets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;locale=en"&gt;ODS EXCEL&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For batch SAS users, ODS tagsets. ExcelXP and ODS EXCEL can be used to place formatted report content into an Excel spreadsheet. See ODS EXCEL for an example.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Scripts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;enables the use of scripts like VBS and PowerShell to plug SAS data results into a spreadsheet as a post-process, which users can spawn within their SAS programs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 17:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701860#M214942</guid>
      <dc:creator>JOL</dc:creator>
      <dc:date>2020-11-26T17:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT SAS DDE doesn't communicate with windows 10 Excel 2016</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701914#M214961</link>
      <description>&lt;P&gt;In addition to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/151645"&gt;@JOL&lt;/a&gt;'s very useful information the communications links that DDE use can be interfered with by other newer applications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I discovered that Cisco Jabber for one, if running, disables DDE even when I had Excel installed locally. So to use DDE I had to KILL the Jabber process (not stop the application, go into Task Manager and KILL the process). If you have other applications that interfere you may not have the option of killing them to allow DDE to run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luckily the reason I was using DDE was replaced by ODS options.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 21:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701914#M214961</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-11-26T21:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: EXPORT SAS DDE doesn't communicate with windows 10 Excel 2016</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701935#M214971</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;DDE is a legacy method, and SAS does not encourage using DDE&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Just to add:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DDE is a&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;legacy method, and &lt;EM&gt;Microsoft&amp;nbsp;&lt;/EM&gt;does not encourage using DDE. It's not a stance by SAS.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It only remains enabled, with no support, for compatibility purposes.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See this devblog entry from 2007&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://devblogs.microsoft.com/oldnewthing/?p=27863" target="_blank"&gt;https://devblogs.microsoft.com/oldnewthing/?p=27863&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 00:29:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EXPORT-SAS-DDE-doesn-t-communicate-with-windows-10-Excel-2016/m-p/701935#M214971</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-11-27T00:29:30Z</dc:date>
    </item>
  </channel>
</rss>

