<?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: Is it possible to run Excel VBA code using SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180549#M34463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DDE has not been supported since 2003 maybe even earlier than that and is dying with 64 bit platforms/remote submission environments like EG or grid. Nonetheless, for local processes it can still achieve the desired results easier and faster than with some other means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you are looking for an expandable solution that will work for a long time, I would stay away from DDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have VBA knowledge, odds are it would be easier to do the opposite. I suggest you give a read to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/9841"&gt;https://communities.sas.com/thread/9841&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love to provide more insights but I've really only played with DDE myself and have not had anything of large enough scale to get into VB-SAS interaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vince&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*edit Reeza -&amp;gt; Like!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2013 21:35:56 GMT</pubDate>
    <dc:creator>Vince28_Statcan</dc:creator>
    <dc:date>2013-12-23T21:35:56Z</dc:date>
    <item>
      <title>Is it possible to run Excel VBA code using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180546#M34460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a excel pivot with SAS by running VBA code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 11:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180546#M34460</guid>
      <dc:creator>KarthikSrivasthav</dc:creator>
      <dc:date>2013-12-23T11:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to run Excel VBA code using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180547#M34461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would look into DDE, if you can (google "SAS Excel DDE").&amp;nbsp; That allows SAS to tell Excel to do things, including run macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 21:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180547#M34461</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-12-23T21:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to run Excel VBA code using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180548#M34462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes its possible. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 21:18:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180548#M34462</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-12-23T21:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to run Excel VBA code using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180549#M34463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DDE has not been supported since 2003 maybe even earlier than that and is dying with 64 bit platforms/remote submission environments like EG or grid. Nonetheless, for local processes it can still achieve the desired results easier and faster than with some other means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you are looking for an expandable solution that will work for a long time, I would stay away from DDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have VBA knowledge, odds are it would be easier to do the opposite. I suggest you give a read to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/9841"&gt;https://communities.sas.com/thread/9841&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love to provide more insights but I've really only played with DDE myself and have not had anything of large enough scale to get into VB-SAS interaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vince&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*edit Reeza -&amp;gt; Like!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 21:35:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180549#M34463</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2013-12-23T21:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to run Excel VBA code using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180550#M34464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That solution assumes you have SAS Add in for Microsoft Office, which to me, in my experience is more unstable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd go DDE. Currently using it with 64 bit SAS with 32 bit Excel 2010 and not having issues.&amp;nbsp; But generally, I embed a macro into the Sheet and then call that macro instead of using DDE to actually do things.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's also the ODS TableEditor option&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/" title="http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/"&gt;Base SAS: Creating a Data Grid Like VB.NET&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="818277" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; This is an old question, if the OP googled they'd find the answer easy enough &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 21:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-run-Excel-VBA-code-using-SAS/m-p/180550#M34464</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-12-23T21:45:39Z</dc:date>
    </item>
  </channel>
</rss>

