<?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: Start MS Access database Macro At The End Of SAS Program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795412#M255138</link>
    <description>&lt;P&gt;So have you tried this outside of SAS on a Windows command line and it works?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to Google this should work -&amp;nbsp;&lt;SPAN&gt;MSACCESS.EXE appName.mdb /X=macroToBeExecuted&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 02:00:31 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-02-10T02:00:31Z</dc:date>
    <item>
      <title>Start MS Access database Macro At The End Of SAS Program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795318#M255082</link>
      <description>&lt;P&gt;I'm new to SAS programming. I would like the syntax to start a MS Access database macro at the end of a SAS program. I've taken over some SAS programs that use the following syntax to kick off an Excel macro:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*Opens the Excel macro prior to establishing the DDE to run the Excel VB macro***/&lt;BR /&gt;%let xlsMacro = \\wpmfiles\Intraday_Forecasting\30 Day Charts\Auto_Morning_Reports.xlsm;&lt;BR /&gt;options noxsync noxwait;&lt;BR /&gt;x "'&amp;amp;xlsMacro.'";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there syntax like this to start a macro in MS Access?&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;</description>
      <pubDate>Wed, 09 Feb 2022 20:21:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795318#M255082</guid>
      <dc:creator>dkstoneman</dc:creator>
      <dc:date>2022-02-09T20:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Start MS Access database Macro At The End Of SAS Program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795346#M255104</link>
      <description>&lt;P&gt;If you are using a remote SAS server you can't start MS Access at all. This will only possibly work if you have SAS installed on your PC and you are using a local SAS session. You can write from SAS to an MS Access database without opening it though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 21:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795346#M255104</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-02-09T21:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Start MS Access database Macro At The End Of SAS Program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795363#M255118</link>
      <description>&lt;P&gt;The SAS application I'm using is on my local desktop computer. I know you can pass data to an Access database from SAS. I need the SAS program to open an Access database and then run a macro within that database. I have to do additional data manipulation in the Access database and then publish that new information to Excel workbooks via the macro. The additional manipulation can't be performed by a SAS program.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 22:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795363#M255118</guid>
      <dc:creator>dkstoneman</dc:creator>
      <dc:date>2022-02-09T22:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Start MS Access database Macro At The End Of SAS Program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795412#M255138</link>
      <description>&lt;P&gt;So have you tried this outside of SAS on a Windows command line and it works?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to Google this should work -&amp;nbsp;&lt;SPAN&gt;MSACCESS.EXE appName.mdb /X=macroToBeExecuted&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 02:00:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795412#M255138</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-02-10T02:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Start MS Access database Macro At The End Of SAS Program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795508#M255176</link>
      <description>&lt;P&gt;I don't know how to kick off MS Access from a command line, but I can call Access and run the macro from Task Scheduler and other applications outside of SAS. Here is my process follow for what I'm trying to accomplish:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I kick off SAS via Windows Task Scheduler to import data from another source&lt;/LI&gt;&lt;LI&gt;Next a SAS program parses out the necessary data into individual tables and runs calculation processes&lt;/LI&gt;&lt;LI&gt;When the SAS program ends, I want to start the MS Access macro to complete additional work on the data before publishing it to other files.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 10 Feb 2022 15:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795508#M255176</guid>
      <dc:creator>dkstoneman</dc:creator>
      <dc:date>2022-02-10T15:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Start MS Access database Macro At The End Of SAS Program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795560#M255199</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"I don't know how to kick off MS Access from a command line."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Right click on the Windows icon in the bottom left of your screen and select Run. Type in cmd to open a Command window. Type in the command I've already supplied you with and press the enter key.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also if you don't know how to do something on your computer, have you tried using Google to search for the answer? I didn't know how to run MS Access from a command line but a quick search got me the answer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 20:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Start-MS-Access-database-Macro-At-The-End-Of-SAS-Program/m-p/795560#M255199</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-02-10T20:21:36Z</dc:date>
    </item>
  </channel>
</rss>

