<?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: DDE commands for Excel in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/376205#M2102</link>
    <description>&lt;P&gt;Thanks everybody for the input. It is all great information. What would be the most efficient way to output a SAS dataset into Excel and format it / group the common rows? I'm guessing I would have to use VBA, I'm trying to use as few tools as possible because documentation starts to get really complicated when there are multiple languages involved for a job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanve everybody.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Garry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Jul 2017 05:16:05 GMT</pubDate>
    <dc:creator>GarryL</dc:creator>
    <dc:date>2017-07-15T05:16:05Z</dc:date>
    <item>
      <title>DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375867#M2096</link>
      <description>&lt;P&gt;Hi Everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for the commands (I think they are X4ML) for the DDE process in SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any documentation that contains this information? There was a link from another thread, but the link went down.&lt;/P&gt;&lt;P&gt;I am particularly looking for:&lt;/P&gt;&lt;P&gt;put '[&amp;lt;what.command()&amp;gt;]'; -----&amp;gt; to put rows 1-20 into a group. In other words, I want all records from row 1-20 in a collapsible group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Garry&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 23:39:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375867#M2096</guid>
      <dc:creator>GarryL</dc:creator>
      <dc:date>2017-07-13T23:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375869#M2097</link>
      <description>&lt;P&gt;collapsible groups didn't exist when those commands were written (Excel 4.0) so I doubt you're going to find the command you want. I would probably try some of the VBA commands if you know that syntax. Not sure, haven't tried it, but am definitely curious if you get it to work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/153994"&gt;@GarryL&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi Everybody,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for the commands (I think they are X4ML) for the DDE process in SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any documentation that contains this information? There was a link from another thread, but the link went down.&lt;/P&gt;
&lt;P&gt;I am particularly looking for:&lt;/P&gt;
&lt;P&gt;put '[&amp;lt;what.command()&amp;gt;]'; -----&amp;gt; to put rows 1-20 into a group. In other words, I want all records from row 1-20 in a collapsible group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Garry&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 23:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375869#M2097</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-13T23:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375870#M2098</link>
      <description>&lt;P&gt;Do a google search for:&amp;nbsp;dde Koen Vyverman&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most things you want to know are somewhere in his papers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can download the exe file that actually contains all of the documentation at:&amp;nbsp;&lt;A href="https://support.microsoft.com/en-us/help/128185/macrofun.exe-file-available-on-online-services" target="_blank"&gt;https://support.microsoft.com/en-us/help/128185/macrofun.exe-file-available-on-online-services&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 23:46:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375870#M2098</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-13T23:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375871#M2099</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13711"&gt;@art297&lt;/a&gt;&amp;nbsp;those files couldn't be installed on my Windows 7 machine without some additional workarounds this time. Had to switch modes or something. &amp;nbsp;DDE is definitely going to be done soon...&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 23:47:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375871#M2099</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-13T23:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375875#M2100</link>
      <description>&lt;P&gt;Should have been readable by Windows 7 or 8. However, if not (or you're on Window's 10), you can still read it by downloading the reader:&amp;nbsp;&lt;A href="https://appuals.com/how-to-read-hlp-files-in-windows-10/" target="_blank"&gt;https://appuals.com/how-to-read-hlp-files-in-windows-10/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 00:10:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375875#M2100</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-14T00:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375963#M2101</link>
      <description>&lt;P&gt;Do be aware that DDE is ancient, MS stopped supporting it well over a decade ago, hence none of the updates since 200x have been implemented. &amp;nbsp;Its really not recommended to use this any further. &amp;nbsp;There are manya ways to get data out to Excel if you must use the app, including tagsets - which create XML Excel can read, CSV, libname excel, proc export, dump data to CSV from SAS and use VBA to read it in, SAS Office AddIn etc. &amp;nbsp;If you want collapsible groups and such very Excel specific things, then you would likely be better off createing a CSV from SAS, then processing the data into a template using VBA.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 10:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/375963#M2101</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-07-14T10:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/376205#M2102</link>
      <description>&lt;P&gt;Thanks everybody for the input. It is all great information. What would be the most efficient way to output a SAS dataset into Excel and format it / group the common rows? I'm guessing I would have to use VBA, I'm trying to use as few tools as possible because documentation starts to get really complicated when there are multiple languages involved for a job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanve everybody.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Garry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 05:16:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/376205#M2102</guid>
      <dc:creator>GarryL</dc:creator>
      <dc:date>2017-07-15T05:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/376427#M2103</link>
      <description>&lt;P&gt;The problem is the use of Group Rollups in Excel, which is competely Excel specific, nothing else uses it. &amp;nbsp;Therefore, to my mind, the best way to do it is via VBA. &amp;nbsp;Record a macro of you doing this manually once: View-&amp;gt;Macros-&amp;gt;Record Macro. &amp;nbsp;This will give you the code to do this, thn just add a line which opens a CSV, processes the data into the format required and saves out the file. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 08:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/376427#M2103</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-07-17T08:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/388104#M2115</link>
      <description>&lt;P&gt;Assuming you dont have the Office Addin I'd try to do everything natively in Excel, you may be able to skip VBA altogether if you have access to a version of Excel with PowerPivot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get SAS ODBC drivers from here -&amp;nbsp;&lt;A href="https://support.sas.com/software/products/odbc/" target="_blank"&gt;https://support.sas.com/software/products/odbc/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could then use powerquery to set up an automated import into Excel and use Powerpivot to present the data from the data model&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 11:25:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/388104#M2115</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2017-08-15T11:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: DDE commands for Excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/388171#M2116</link>
      <description>&lt;P&gt;Use ODS Excel to create the majority of the file. It can't do the grouping yet but it will do formatting and/or custom highlighting as needed.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 14:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-commands-for-Excel/m-p/388171#M2116</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-15T14:45:05Z</dc:date>
    </item>
  </channel>
</rss>

