<?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 9.3: Calling Excel macro from personal.xlsb in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/9-3-Calling-Excel-macro-from-personal-xlsb/m-p/129005#M26346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 9.2, my codes worked fine.&amp;nbsp; In 9.3, I have issues getting my excel macros to execute with my SAS codes.&amp;nbsp; Has this syntax changed now?&amp;nbsp; The macro keeps trying to execute on personal.xlsb rather than waiting for the SAS output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options noxwait noxsync;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;rc=system("Start Excel");&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;x=sleep(1);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOME ODS HERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options noxwait noxsync;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;x=sleep(5);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;file CMDS;&lt;/P&gt;&lt;P&gt;put '[RUN("personal.xlsb!MACRONAME")]';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2013 15:06:18 GMT</pubDate>
    <dc:creator>wcpatton</dc:creator>
    <dc:date>2013-05-03T15:06:18Z</dc:date>
    <item>
      <title>9.3: Calling Excel macro from personal.xlsb</title>
      <link>https://communities.sas.com/t5/SAS-Programming/9-3-Calling-Excel-macro-from-personal-xlsb/m-p/129005#M26346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 9.2, my codes worked fine.&amp;nbsp; In 9.3, I have issues getting my excel macros to execute with my SAS codes.&amp;nbsp; Has this syntax changed now?&amp;nbsp; The macro keeps trying to execute on personal.xlsb rather than waiting for the SAS output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options noxwait noxsync;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;rc=system("Start Excel");&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;x=sleep(1);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOME ODS HERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options noxwait noxsync;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;x=sleep(5);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;file CMDS;&lt;/P&gt;&lt;P&gt;put '[RUN("personal.xlsb!MACRONAME")]';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 15:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/9-3-Calling-Excel-macro-from-personal-xlsb/m-p/129005#M26346</guid>
      <dc:creator>wcpatton</dc:creator>
      <dc:date>2013-05-03T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: 9.3: Calling Excel macro from personal.xlsb</title>
      <link>https://communities.sas.com/t5/SAS-Programming/9-3-Calling-Excel-macro-from-personal-xlsb/m-p/129006#M26347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 12:55:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/9-3-Calling-Excel-macro-from-personal-xlsb/m-p/129006#M26347</guid>
      <dc:creator>wcpatton</dc:creator>
      <dc:date>2013-05-13T12:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: 9.3: Calling Excel macro from personal.xlsb</title>
      <link>https://communities.sas.com/t5/SAS-Programming/9-3-Calling-Excel-macro-from-personal-xlsb/m-p/129007#M26348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea about your particular problem, but there are many messages about making sure that the your SAS version is consistent with your Excel version in terms of 32bit vs 64bit.&amp;nbsp; Perhaps the issue is that you went from 32 bit SAS 9.2 to 64 bit SAS 9.3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 13:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/9-3-Calling-Excel-macro-from-personal-xlsb/m-p/129007#M26348</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-05-13T13:09:52Z</dc:date>
    </item>
  </channel>
</rss>

