<?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 Excel Add-In 7.1 Stored Process Prompt Issue in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-Excel-Add-In-7-1-Stored-Process-Prompt-Issue/m-p/417682#M2168</link>
    <description>&lt;P&gt;Any solution to this issue yet?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2017 09:00:26 GMT</pubDate>
    <dc:creator>smektalski</dc:creator>
    <dc:date>2017-12-01T09:00:26Z</dc:date>
    <item>
      <title>SAS Excel Add-In 7.1 Stored Process Prompt Issue</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-Excel-Add-In-7-1-Stored-Process-Prompt-Issue/m-p/229710#M1741</link>
      <description>&lt;P&gt;I have recently upgrade from SAS Add-in 5.1 to 7.1. &amp;nbsp;When I run&amp;nbsp;my VBA code that calls a stored procedure with prompts, I get an error when defining the New SasPrompt (Run-time Error '-2148024894 (80070002)' Automation Error, The system cannot find the file specified.) The&amp;nbsp;line in bold below is where the VBA code stops.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub MoveSASFiles()
Dim sas As SASExcelAddIn
    Set sas = Application.COMAddIns.Item("SAS.ExcelAddIn").Object

Dim Prompts1 As SASPrompts
    &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Set Prompts1 = New SASPrompts&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;
    Prompts1.Add "StartLib", "/sas_nas_allshr/PermData/"
    Prompts1.Add "DatasetMove", "Summary"
    sas.InsertStoredProcess "/selact/Move_to_AMO", Sheet1.Range("D11"), Prompts1
End Sub&lt;/PRE&gt;&lt;P&gt;This code worked fine in 5.1. &amp;nbsp;I aslo have the reference for the SAS Add-In 7.1 for Microsoft&amp;nbsp;Office selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When looking at the updates for 7.1, it looks like the Prompts controls may have changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/whatsdiff/66129/HTML/default/viewer.htm#n01ephrd2zgp1qn1odaruqad72az.htm" target="_self"&gt;http://support.sas.com/documentation/cdl/en/whatsdiff/66129/HTML/default/viewer.htm#n01ephrd2zgp1qn1odaruqad72az.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with calling a stored procedure with prompts through VBA SAS Add-in 7.1 would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:20:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-Excel-Add-In-7-1-Stored-Process-Prompt-Issue/m-p/229710#M1741</guid>
      <dc:creator>kmcacattack</dc:creator>
      <dc:date>2015-10-13T14:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Excel Add-In 7.1 Stored Process Prompt Issue</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-Excel-Add-In-7-1-Stored-Process-Prompt-Issue/m-p/417682#M2168</link>
      <description>&lt;P&gt;Any solution to this issue yet?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 09:00:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-Excel-Add-In-7-1-Stored-Process-Prompt-Issue/m-p/417682#M2168</guid>
      <dc:creator>smektalski</dc:creator>
      <dc:date>2017-12-01T09:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Excel Add-In 7.1 Stored Process Prompt Issue</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-Excel-Add-In-7-1-Stored-Process-Prompt-Issue/m-p/418086#M2178</link>
      <description>&lt;P&gt;In order to SAS Support the solution is to change:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;Set Prompts1 = New SASPrompts&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;Set Prompts1 = sas.CreateSASPromptsObject&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works for me.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 08:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-Excel-Add-In-7-1-Stored-Process-Prompt-Issue/m-p/418086#M2178</guid>
      <dc:creator>smektalski</dc:creator>
      <dc:date>2017-12-04T08:41:52Z</dc:date>
    </item>
  </channel>
</rss>

