<?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: Stored Process for MS Excel in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304267#M5136</link>
    <description>&lt;P&gt;To run a SAS stored process from Excel, you either need the AddIn for MS Office, or you have to do some low-level IOM programming yourself.&lt;/P&gt;
&lt;P&gt;Seeing that the AddIn needs no additional license, I see no reason not to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your IT people don't want to install the AddIn on clients, you can make the STP stream-output a table to the web and open the STP URL from Excel.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 06:52:48 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-10-13T06:52:48Z</dc:date>
    <item>
      <title>Stored Process for MS Excel</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304210#M5135</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write a Generic query to exeute a SAS code using Excel, we dont have SAS Addins.&lt;/P&gt;&lt;P&gt;I have written a Sample stp but trying to figure out to run this using MS-Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S....&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 00:13:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304210#M5135</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-10-13T00:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process for MS Excel</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304267#M5136</link>
      <description>&lt;P&gt;To run a SAS stored process from Excel, you either need the AddIn for MS Office, or you have to do some low-level IOM programming yourself.&lt;/P&gt;
&lt;P&gt;Seeing that the AddIn needs no additional license, I see no reason not to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your IT people don't want to install the AddIn on clients, you can make the STP stream-output a table to the web and open the STP URL from Excel.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 06:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304267#M5136</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-13T06:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process for MS Excel</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304380#M5137</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;I think the techniques discussed on page 4 of this (very old) paper still largely apply:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;STRONG&gt;Techniques for SAS® Enabling Microsoft® Office in a Cross-Platform Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="http://www2.sas.com/proceedings/sugi27/p174-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p174-27.pdf&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;The SAS Logon Manager presents a challenge when running a stored process because you must authenticate prior to code execution.&amp;nbsp; You can get around that issue if you enable guest/anonymous access:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;STRONG&gt;Usage Note 43149: Configuring anonymous access for the SAS® Stored Process Web Application&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="http://support.sas.com/kb/43/149.html" target="_blank"&gt;http://support.sas.com/kb/43/149.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Then use "guest" instead of "do":&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;http://your-server:7980/SASStoredProcess/&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;guest&lt;/STRONG&gt;&lt;/FONT&gt;?_program=/Products/SAS Intelligence Platform/Samples/Sample: Hello World&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Verify that the URL works when specified in the address field of a Web browser.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Then you can specify the URL in the Excel Open dialog box technique.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;To use the Excel Web Query technique, click &lt;STRONG&gt;Data&lt;/STRONG&gt; in the Excel ribbon, and then click &lt;STRONG&gt;From Web&lt;/STRONG&gt; in the &lt;STRONG&gt;Get External Data&lt;/STRONG&gt; group.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Click &lt;STRONG&gt;Options&lt;/STRONG&gt; in the New Web Query dialog, select &lt;STRONG&gt;Full HTML formatting&lt;/STRONG&gt;, and then click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5275iA1A426885E6BFAFA/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Excel Web Query Options" title="Excel Web Query Options" /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Specify the URL in the &lt;STRONG&gt;Address&lt;/STRONG&gt; field and then click &lt;STRONG&gt;Go&lt;/STRONG&gt;.&amp;nbsp; The results of the stored process are displayed in the lower pane, and you can then select all of the output or output tables of interest.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5276iBE3EBA941B5FD66D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Excel New Web Query Dialog" title="Excel New Web Query Dialog" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;When using the Hello World sample, click the arrow to select the entire table, and then click &lt;STRONG&gt;Import&lt;/STRONG&gt;.&amp;nbsp; Select either &lt;STRONG&gt;Existing worksheet&lt;/STRONG&gt; or &lt;STRONG&gt;New worksheet&lt;/STRONG&gt; and then specify the cell location for the upper, left corner of the output (&lt;STRONG&gt;XML table in existing worksheet&lt;/STRONG&gt; is selected by default).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5278i405E8863DBEDD8B2/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Excel Import Data Options" title="Excel Import Data Options" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;You can save the query when you're satisfied with the results.&amp;nbsp; Right-click in the cell specified in the &lt;STRONG&gt;Import Data&lt;/STRONG&gt; dialog box above, and then select &lt;STRONG&gt;Edit Query&lt;/STRONG&gt;&amp;nbsp;from the pop-up menu.&amp;nbsp; Click the &lt;STRONG&gt;Save Query&lt;/STRONG&gt; button to the left of the &lt;STRONG&gt;Options&lt;/STRONG&gt; button (see earlier New Web Query dialog screen shot) and then specify a name for the IQY file, noting the location of the file.&amp;nbsp; You can distribute this file to your end-users and they can install it on their machines.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;To execute the IQY file from within Excel, click &lt;STRONG&gt;Data&lt;/STRONG&gt; in the Excel ribbon, and then click &lt;STRONG&gt;Existing Connections&lt;/STRONG&gt; in the &lt;STRONG&gt;Get External Data&lt;/STRONG&gt; group.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;You can also edit the IQY file to add parameters and prompts, for example:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;WEB&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;http://your-server:7980/SASStoredProcess/guest?_program=/Products/SAS Intelligence Platform/Samples/Sample: Hello World&amp;amp;_debug=["_debug", "Specify a Debug value:"]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;A quick search of the Web resulted in a number of hits for using VBA to open a URL from within Excel.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;All of these techniques are a little clunky, and the SAS Add-in for Microsoft Office provides a much more integrated approach.&amp;nbsp; It's available as part of SAS Office Analytics (in addition to SAS Business Intelligence Server and SAS Enterprise Business Intelligence Server):&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="http://www.sas.com/en_us/software/business-intelligence/office-analytics.html" target="_blank"&gt;http://www.sas.com/en_us/software/business-intelligence/office-analytics.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Excel Web Query R&lt;/SPAN&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;eferences:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;STRONG&gt;Get external data from a Web page&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="https://support.office.com/en-us/article/Get-external-data-from-a-Web-page-708f2249-9569-4ff9-a8a4-7ee5f1b1cfba" target="_blank"&gt;https://support.office.com/en-us/article/Get-external-data-from-a-Web-page-708f2249-9569-4ff9-a8a4-7ee5f1b1cfba&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;or &lt;A href="https://goo.gl/QIkSma" target="_blank"&gt;https://goo.gl/QIkSma&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;STRONG&gt;Create a Web query parameter query&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="https://support.office.com/en-us/article/Create-a-Web-query-parameter-query-0af114fe-d9a2-4f05-b92c-5bef491b1d2c" target="_blank"&gt;https://support.office.com/en-us/article/Create-a-Web-query-parameter-query-0af114fe-d9a2-4f05-b92c-5bef491b1d2c&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;or &lt;A href="https://goo.gl/Ealcpb" target="_blank"&gt;https://goo.gl/Ealcpb&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 14:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304380#M5137</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2016-10-13T14:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process for MS Excel</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304488#M5138</link>
      <description>Hi,&lt;BR /&gt;Thank you for the solution, this seems to be interesting and I hope this works for me.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Santtosh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2016 21:33:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-for-MS-Excel/m-p/304488#M5138</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-10-13T21:33:12Z</dc:date>
    </item>
  </channel>
</rss>

