<?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: Executing VBA through SAS(Unix platform) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172241#M44420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's not enough information to answer your question.&lt;/P&gt;&lt;P&gt;Yes, it's possible but you need to explain in more detail what you'd like. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For starters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using SAS or EG? What version? Are you on a server or desktop or combination?&lt;/P&gt;&lt;P&gt;What do you mean by exporting the data sets? Why is that not part of the SAS program?&lt;/P&gt;&lt;P&gt;What does your VBA do? Can that be embedded in SAS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 17:09:21 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-01-08T17:09:21Z</dc:date>
    <item>
      <title>Executing VBA through SAS(Unix platform)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172238#M44417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to automate my process can any one help me to execute the VBA codes through SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently i am doing in three steps :&lt;/P&gt;&lt;P&gt;1) Executing SAS codes to get the data.&lt;/P&gt;&lt;P&gt;2) Exporting the datasets&lt;/P&gt;&lt;P&gt;3) Executing the VBA codes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make it into one step.Please help me and i have one more doubt how a SAS in Unix system interacts with Windows(Excel) system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Karthik Srivasthav...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 14:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172238#M44417</guid>
      <dc:creator>KarthikSrivasthav</dc:creator>
      <dc:date>2015-01-07T14:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Executing VBA through SAS(Unix platform)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172239#M44418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I am aware, Excel does not exist on Unix as it is a Windows system.&amp;nbsp; I imagine you are creating files on Unix which can be read by Excel, e.g. ods tagsets.excelxp, csv, but seeing as you can't start the office engine on Unix I don't see how you would execute VBA which embedded in Office.&lt;/P&gt;&lt;P&gt;Without further information its hard to say, but you could look at it the other way round.&amp;nbsp; Have your data exported from SAS as normal.&amp;nbsp; Then have an Excel file with an OnOpen sub which knows to load the exported datafile.&amp;nbsp; That Excel file could then run other macros as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, and just to add, why would you want to run VBA macros at the end.&amp;nbsp; Output from SAS is more of a review tool, Excel is not good for &amp;lt;insert task here&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 14:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172239#M44418</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-01-07T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Executing VBA through SAS(Unix platform)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172240#M44419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have Enterprise Guide available, you could package the steps inside EGuide and run the project.&amp;nbsp; You could even run the project unattended.&amp;nbsp; Chris H. has some guidance for embedding VBA in EGuide on the SAS Dummies blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also be able to embed the call for SAS execution in the SAS add-in for Microsoft Excel.&amp;nbsp; You may need additional product to get that to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 17:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172240#M44419</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2015-01-08T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Executing VBA through SAS(Unix platform)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172241#M44420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's not enough information to answer your question.&lt;/P&gt;&lt;P&gt;Yes, it's possible but you need to explain in more detail what you'd like. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For starters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using SAS or EG? What version? Are you on a server or desktop or combination?&lt;/P&gt;&lt;P&gt;What do you mean by exporting the data sets? Why is that not part of the SAS program?&lt;/P&gt;&lt;P&gt;What does your VBA do? Can that be embedded in SAS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 17:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Executing-VBA-through-SAS-Unix-platform/m-p/172241#M44420</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-08T17:09:21Z</dc:date>
    </item>
  </channel>
</rss>

