<?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: SAS Prompt in Excel in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/373304#M24318</link>
    <description>&lt;P&gt;This paper by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40166"&gt;@TimBeese&lt;/a&gt;&amp;nbsp;might help if you haven't already seen:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings11/012-2011.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings11/012-2011.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2017 14:26:39 GMT</pubDate>
    <dc:creator>CaseySmith</dc:creator>
    <dc:date>2017-07-05T14:26:39Z</dc:date>
    <item>
      <title>SAS Prompt in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/372915#M24295</link>
      <description>&lt;P&gt;I have facing some problem in defining SAS prompts in excel by using VBA-Excel addin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Program was running perfectly but recently it started showing an error of out of memory on the line where SAS prompt is defined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim sas As SASExcelAddIn&lt;BR /&gt;&lt;BR /&gt;Set sas = Application.COMAddIns.Item("Sas.ExcelAddIn").Object&lt;BR /&gt;&lt;BR /&gt;Dim prompts As SASPrompts&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Set prompts = New SASPrompts ( Showing an error of out of memory in this line)&lt;BR /&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Can't understand the problem.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Can anyone help me with this..??&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 05:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/372915#M24295</guid>
      <dc:creator>DipeshGupta</dc:creator>
      <dc:date>2017-07-04T05:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prompt in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/373304#M24318</link>
      <description>&lt;P&gt;This paper by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40166"&gt;@TimBeese&lt;/a&gt;&amp;nbsp;might help if you haven't already seen:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings11/012-2011.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings11/012-2011.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:26:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/373304#M24318</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2017-07-05T14:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prompt in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/373518#M24333</link>
      <description>&lt;P&gt;Ya I have seen this and followed this PDF right from the starting but facing some problem on the line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;"Set prompts = New SasPrompts"&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Code is working perfectly on my PC but whenever I run the Excel-VBA program on someone's else PC it shows me an error on the line&amp;nbsp;&lt;U&gt;"Set prompts = New SasPrompts"&amp;nbsp;&lt;/U&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Error is "Activex can't create object"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made sure that all references are added which were added in My PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have repaired the office application in the second PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also Reinstalled the office application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the error still persists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary the program is working only on My PC and can't understand why so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please guide me how to solve the issue because maybe that can solve the problem of Out of Memory also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have even tried a small code in the 2nd PC i.e.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub check()

Dim SAS As SASExcelAddIn

Set SAS = Application.COMAddIns.Item("Sas.ExcelAddIn").Object

Dim prompts As SASPrompts

Set prompts = New SASPrompts

SAS.HelloWorld

End Sub&lt;/PRE&gt;&lt;P&gt;But it gives the same error on the same line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have even tried this thing in 4 other PC's but everytime the same error except My PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to solve this issue..??&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 07:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/373518#M24333</guid>
      <dc:creator>DipeshGupta</dc:creator>
      <dc:date>2017-07-06T07:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Prompt in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/373829#M24350</link>
      <description>&lt;P&gt;I suggest checking to see if the SAS Add-in for Microsoft Office (AMO)&amp;nbsp;is installed and activated in Excel on those other machines.&amp;nbsp; For example, when you open Excel (on the other machines), do you see the SAS ribbon (and able to view its Help-&amp;gt;About dialog)?&amp;nbsp; If not, you'll need to install (if not already) and&amp;nbsp;enable it (SAS Add-in for Microsoft Office)&amp;nbsp;in Excel&amp;nbsp;(which you can do with the SwitcherUtility.exe utility in the AMO installation folder...&amp;nbsp; ex. C:\Program Files (x86)\SASHome\x86\SASAddinforMicrosoftOffice\7.1\).&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 02:40:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Prompt-in-Excel/m-p/373829#M24350</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2017-07-07T02:40:32Z</dc:date>
    </item>
  </channel>
</rss>

