<?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 how to run vba code using sas studio? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-run-vba-code-using-sas-studio/m-p/872980#M344922</link>
    <description>&lt;P&gt;hi guys,&lt;/P&gt;
&lt;P&gt;Do anyone have some experience to&amp;nbsp;run vba code using sas studio(&lt;A href="https://welcome.oda.sas.com" target="_blank"&gt;https://welcome.oda.sas.com&lt;/A&gt;) instead of PC SAS?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
FILENAME myfile '/home/.../VB/test.xlsm';

x 'start excel';
x 'cd "/home/.../VB/test.xlsm"';
x 'excel /e myfile';
x 'application.run "test"';
x 'quit';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings16/7120-2016.pdf#:~:text=SAS%20programmers%20can%20employ%20PUT%20statements%20within%20a,run%20a%20VBA%20macro%20in%20an%20Office%20application" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings16/7120-2016.pdf#:~:text=SAS%20programmers%20can%20employ%20PUT%20statements%20within%20a,run%20a%20VBA%20macro%20in%20an%20Office%20application&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Apr 2023 15:06:28 GMT</pubDate>
    <dc:creator>blueskyxyz</dc:creator>
    <dc:date>2023-04-29T15:06:28Z</dc:date>
    <item>
      <title>how to run vba code using sas studio?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-run-vba-code-using-sas-studio/m-p/872980#M344922</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;
&lt;P&gt;Do anyone have some experience to&amp;nbsp;run vba code using sas studio(&lt;A href="https://welcome.oda.sas.com" target="_blank"&gt;https://welcome.oda.sas.com&lt;/A&gt;) instead of PC SAS?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
FILENAME myfile '/home/.../VB/test.xlsm';

x 'start excel';
x 'cd "/home/.../VB/test.xlsm"';
x 'excel /e myfile';
x 'application.run "test"';
x 'quit';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings16/7120-2016.pdf#:~:text=SAS%20programmers%20can%20employ%20PUT%20statements%20within%20a,run%20a%20VBA%20macro%20in%20an%20Office%20application" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings16/7120-2016.pdf#:~:text=SAS%20programmers%20can%20employ%20PUT%20statements%20within%20a,run%20a%20VBA%20macro%20in%20an%20Office%20application&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 15:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-run-vba-code-using-sas-studio/m-p/872980#M344922</guid>
      <dc:creator>blueskyxyz</dc:creator>
      <dc:date>2023-04-29T15:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to run vba code using sas studio?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-run-vba-code-using-sas-studio/m-p/872988#M344928</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298115"&gt;@blueskyxyz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two issues here:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The SAS ODS is running on Linux Operating System, while VBA is a Windows technology! So unless you find a technology/interface that can run Windows programs on Linux/Unix operating systems, you are out of luck&lt;/LI&gt;
&lt;LI&gt;If you ever manage to find a resolution for Issue #1, SAS ODA doesn't allow users to run OS commands. It's a security measure. Which means you'll not be able to run any commands from a command Prompt!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 15:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-run-vba-code-using-sas-studio/m-p/872988#M344928</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2023-04-29T15:47:53Z</dc:date>
    </item>
  </channel>
</rss>

