<?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 Excel and Stored Process in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Excel-and-Stored-Process/m-p/6673#M2188</link>
    <description>I have to call a stored procedure from Excel. &lt;BR /&gt;
The stored procedure generates multiple tables SAS. &lt;BR /&gt;
I hope that when I call the stored procedure, each table opens in a different Sheet. &lt;BR /&gt;
For the moment, all the tables are created in the same Sheet.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Fri, 01 Feb 2008 08:18:01 GMT</pubDate>
    <dc:creator>parametreSEG</dc:creator>
    <dc:date>2008-02-01T08:18:01Z</dc:date>
    <item>
      <title>Excel and Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Excel-and-Stored-Process/m-p/6673#M2188</link>
      <description>I have to call a stored procedure from Excel. &lt;BR /&gt;
The stored procedure generates multiple tables SAS. &lt;BR /&gt;
I hope that when I call the stored procedure, each table opens in a different Sheet. &lt;BR /&gt;
For the moment, all the tables are created in the same Sheet.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 01 Feb 2008 08:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Excel-and-Stored-Process/m-p/6673#M2188</guid>
      <dc:creator>parametreSEG</dc:creator>
      <dc:date>2008-02-01T08:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excel and Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Excel-and-Stored-Process/m-p/6674#M2189</link>
      <description>Hi:&lt;BR /&gt;
  At the present time, your stored process (SP) populates only one sheet. You cannot populate multiple sheets from a single stored process using the SAS Add-in for Microsoft Office (SAS--&amp;gt;Reports--&amp;gt;Select your Folder --&amp;gt;Select and Run your SP)&lt;BR /&gt;
 &lt;BR /&gt;
There is a way to generate a Spreadsheet Markup Language XML file (The Microsoft XML description of a workbook with multiple worksheets.) with SAS. In Base SAS, you use the TAGSETS.EXCELXP destination to create Microsoft-specific XML that can contain multiple worksheets in one workbook.&lt;BR /&gt;
 &lt;BR /&gt;
However, the SAS Add-in for Microsoft Office does not "recognize" this type of XML from a Stored Process. Your only choices for SP output when using the Add-in are SASReport XML, HTML or CSV. When you run an SP using the Add-in, the user gets a popup window asking them where they want the SP output to be placed. The design of the Add-in allows the user to make that choice -- and the SASReport XML or HTML or CSV results from the SP are placed according to that choice. So if you want the users to utilize the SAS Add-in for Microsoft Office to run the SP, then they'd have to run a separate SP or a make different choices for the same SP on a second, third, fourth worksheet using the Add-in to get a multi-sheet workbook.&lt;BR /&gt;
&lt;BR /&gt;
If you use the Stored Process Web Application or write your ExcelXP XML results to a permanent package that can be retrieved by the user, then you could use TAGSETS.EXCELXP to create a multi-sheet workbook from your stored process.&lt;BR /&gt;
&lt;BR /&gt;
For more help using the Stored Process Web Application or creating permanent packages and on overriding the default value for _ODSDEST in order to generate ExcelXP output (multi-sheet), your best bet for help is to read the Stored Process Web Application documentation or to contact Tech Support for help.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 01 Feb 2008 18:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Excel-and-Stored-Process/m-p/6674#M2189</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-02-01T18:16:04Z</dc:date>
    </item>
  </channel>
</rss>

