<?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: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs? in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162546#M4193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;I don't know much about stored procs but what happens when you use the sheet_interval option?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;ODS TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;OPTIONS(SHEET_NAME='FIRST' SHEET_INTERVAL='proc'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;STYLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=NORMAL;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=(SEX=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'F'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'SECOND'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=(SEX=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'M'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'THIRD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;CLOSE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 18:05:00 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-05-16T18:05:00Z</dc:date>
    <item>
      <title>Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162545#M4192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a lot of our reports written as Stored Processes so that the report users can run their own reports as needed using the SAS Add-in for M/S Office.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to create a stored process for a report that outputs to multiple tabs in excel.&amp;nbsp;&amp;nbsp; Can this be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an example using the SASHELP.CLASS directory to try and show you what we are trying to do.&lt;/P&gt;&lt;P&gt;When I created a stored process using this code, all of the PROC PRINTS are writing to one excel sheet.&amp;nbsp;&amp;nbsp;&amp;nbsp; Can they somehow be sent to separate tabs?&amp;nbsp; Thank you for your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;ODS TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;OPTIONS(SHEET_NAME='FIRST'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;STYLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=NORMAL;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=(SEX=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'F'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'SECOND'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=(SEX=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'M'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'THIRD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;CLOSE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 17:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162545#M4192</guid>
      <dc:creator>Linda_V</dc:creator>
      <dc:date>2014-05-16T17:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162546#M4193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;I don't know much about stored procs but what happens when you use the sheet_interval option?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;ODS TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;OPTIONS(SHEET_NAME='FIRST' SHEET_INTERVAL='proc'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;STYLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=NORMAL;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=(SEX=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'F'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'SECOND'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=(SEX=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'M'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt; font-family: Courier New;"&gt;'THIRD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;PRINT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;=SASHELP.CLASS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt; ODS TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Courier New;"&gt;CLOSE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 18:05:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162546#M4193</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-16T18:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162547#M4194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With AMO (Addin Microsoft Office) you should not think in coding tagsets or any other usual SAS-coding.&lt;BR /&gt;Using AMO you will get an SAS Addin-menu eg in EXCEL with a lot of options.&lt;/P&gt;&lt;P&gt;You could get data into your office environment or running analyses or running Stored processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In spread-sheet you will define in cells the links to SAS-code (stored-processes) to be executed. &lt;BR /&gt;The answer to your question is: -&amp;gt; The question is ignoring the way AMO works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 18:12:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162547#M4194</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-05-16T18:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162548#M4195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; Do you have a website that might have some examples that I can look at ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 18:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162548#M4195</guid>
      <dc:creator>Linda_V</dc:creator>
      <dc:date>2014-05-16T18:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162549#M4196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I give you some links:&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=o2oWh9QI79s" title="https://www.youtube.com/watch?v=o2oWh9QI79s"&gt;Hooking Up SAS and Excel - Part 9 - AMO - by Colin Harris - Knoware - YouTube&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://support.sas.com/software/products/addin/#s1=2" title="http://support.sas.com/software/products/addin/#s1=2"&gt;SAS Add-In for Microsoft Office&lt;/A&gt; (SAS main entry)&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/amogs/66249/HTML/default/viewer.htm#p10f15esmn0os6n1g8xzrdvxzb2s.htm" title="http://support.sas.com/documentation/cdl/en/amogs/66249/HTML/default/viewer.htm#p10f15esmn0os6n1g8xzrdvxzb2s.htm"&gt;SAS(R) Add-In 6.1 for Microsoft Office: Getting Started in Microsoft Excel, Microsoft Word, and Microsoft PowerPoint&lt;/A&gt;adding results to a workbook) &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/036-2012.pdf" title="http://support.sas.com/resources/papers/proceedings12/036-2012.pdf"&gt;http://support.sas.com/resources/papers/proceedings12/036-2012.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ways SAS/Office integration, &lt;A href="http://support.sas.com/resources/papers/proceedings14/1764-2014.pdf" title="http://support.sas.com/resources/papers/proceedings14/1764-2014.pdf"&gt;http://support.sas.com/resources/papers/proceedings14/1764-2014.pdf&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 18:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/162549#M4196</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-05-16T18:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/313688#M4197</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to apply to an old post but I am facing exactly the same issue now...Can you please share how did you solve it?&amp;nbsp;I need to urgently resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more info into what I am doing...I am running a stored process from Excel SAS Add-IN. Stored process generate two datasets as an output and I want both dataset into separate worksheet in Excel but currently output is in one worksheet one below the other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I am not any getting report formatting into excel such as Title Color or Backgroud...alignment etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please request you to kindly share how did you resolve below mentioned issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 07:37:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/313688#M4197</guid>
      <dc:creator>VinitXen</dc:creator>
      <dc:date>2016-11-23T07:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/313824#M4198</link>
      <description>&lt;P&gt;Info from someone else in SAS R&amp;amp;D:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Q: For more info into what I am doing...I am running a stored process from Excel SAS Add-IN. Stored process generate two datasets as an output and I want both dataset into separate worksheet in Excel but currently output is in one worksheet one below the other.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A: If your stored process is creating output datasets, then the stored process should be able to open these if you have the option selected to open output data automatically.&amp;nbsp; This option is found from &lt;STRONG&gt;SAS &amp;gt; Tools &amp;gt; Options&lt;/STRONG&gt;, on the &lt;STRONG&gt;Data&lt;/STRONG&gt; tab.&amp;nbsp; Each output data set should be created on a separate tab in the workbook.&amp;nbsp; I believe there is a difference between an output dataset and the dataset created from a data step though, so only the datasets that are actually ‘output’ from a proc would be displayed this way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Q: Also, I am not any getting report formatting into excel such as Title Color or Backgroud...alignment etc&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A: This sounds like the option to "Apply the SAS style to the results" is not enabled. This option is found from &lt;STRONG&gt;SAS &amp;gt; Tools &amp;gt; Options&lt;/STRONG&gt;, on the &lt;STRONG&gt;Results&lt;/STRONG&gt; tab.&amp;nbsp; When rendering content the add-in can choose to apply a SAS style or leave the style blank for you to apply an Excel style.&amp;nbsp; If you don't apply the SAS style, any styling changes you make will be preserved during a refresh.&amp;nbsp; If you do apply the SAS style, then all of the styles are overwritten on a refresh, as the SAS style is applied.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Q: Can they somehow be sent to separate tabs?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A: The add-in does support results created by the ods ExcelXP tagset. &amp;nbsp;The stored process will need to force this tagset in the code though so that AMO doesn’t overwrite it with the _odsdest macro variable that gets assigned in %stpbegin.&amp;nbsp; It’s kind of a workaround approach to get this tagset to be honored.&amp;nbsp; When the code runs, a workbook object is returned to the add-in. &amp;nbsp;That workbook is simply opened, it is not tracked for refresh like other content that is inserted in-place into the worksheet.&amp;nbsp; If they use the ExcelXP tagset and doctor up their stored process to use it, then all the features of that tagset are available in the workbook that is returned. &amp;nbsp;The downside is that these results don’t take full advantage of the other features of AMO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vince DelGobbo&lt;/P&gt;
&lt;P&gt;SAS R&amp;amp;D&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 16:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/313824#M4198</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2016-11-23T16:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/635053#M4199</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any examples on how to send the output to two different excel tabs?&amp;nbsp; I am using 2 Proc Prints and I want them on separate tabs within the excel workbook.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Linda&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 14:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/635053#M4199</guid>
      <dc:creator>Linda_V</dc:creator>
      <dc:date>2020-03-26T14:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/636600#M4200</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;What version of SAS are you using?&amp;nbsp; You can add this code to your stored process and find the version displayed in the SAS log:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put SAS Version: &amp;amp;SYSVLONG;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;What version of the SAS Add-in for Microsoft Office are you using?&amp;nbsp; You can find this information by selecting &lt;STRONG&gt;SAS &amp;gt; Help &amp;gt; About SAS Add-in for Microsoft Office&lt;/STRONG&gt; from Excel.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Are you using the ODS &lt;STRONG&gt;tagsets.ExcelXP&lt;/STRONG&gt; destination or the newer &lt;STRONG&gt;Excel&lt;/STRONG&gt; destination?&amp;nbsp; You might have better results using the newer &lt;STRONG&gt;Excel&lt;/STRONG&gt; destination.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 16:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/636600#M4200</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-04-01T16:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/683365#M4201</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp; Here is our Current Verson:&amp;nbsp;&amp;nbsp;SAS Version: 9.04.01M5P091317&lt;/P&gt;
&lt;P&gt;SAS Excel Add-in Version:&amp;nbsp;&amp;nbsp;7.15 HF7 (7.100.5.6182) (32-bit)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The current Stored Process where I would like to output to multiple Tabs in the Excel report for the Add-in Users is using PROC REPORT.&amp;nbsp; I do not have any ODS coding but I am using some Style statements.&lt;/P&gt;
&lt;P&gt;There are 3 Reports, one for each Model Tier.&amp;nbsp; Right now, I have the PROC REPORT in a macro and then execute the macro 3 times, one for each Model Tier.&amp;nbsp; So, the Add-in user gets all three reports in one Excel worksheet.&amp;nbsp; They would like the 3 reports split out into separate worksheet tabs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Linda Vance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 21:26:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/683365#M4201</guid>
      <dc:creator>Linda_V</dc:creator>
      <dc:date>2020-09-11T21:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Add-in for Excel, Can a Stored Process Output to multiple tabs?</title>
      <link>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/683711#M4202</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Following are instructions using SAS Enterprise Guide&amp;nbsp;7.15 HF8, SAS Add-in for Microsoft Office&amp;nbsp;8.2 Update 4, and 9.4 M6.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Access SAS Enterprise Guide and then create a new program with this code:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro create_workbook(model_tier=); 
 
*  Specify the worksheet name; 
 
ods &amp;amp;_ODSDEST options(sheet_name="Model Tier: &amp;amp;MODEL_TIER"); 
 
proc report data=sashelp.cars; 
  where (type eq "&amp;amp;MODEL_TIER"); 
  columns Type Make Model; 
  define Type / 'Model Tier'; 
run; quit; 
 
%mend create_workbook; 
 
%let RC = %sysfunc(stpsrv_header(Content-type, application/vnd.ms-excel));

*  Specify ODS destination; 

%let _ODSDEST=tagsets.ExcelXP;

%STPBEGIN()

*  First worksheet; 
%CREATE_WORKBOOK(model_tier=Sedan)
 
*  Second worksheet; 
%CREATE_WORKBOOK(model_tier=Wagon)
 
*  Third worksheet; 
%CREATE_WORKBOOK(model_tier=SUV)
 
%STPEND()
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Right-click on the program node and the select &lt;STRONG&gt;Create Stored Process&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;Specify a name and location for the stored process and then select &lt;STRONG&gt;Next&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;Deselect the &lt;STRONG&gt;Include code for Stored process macros&lt;/STRONG&gt; checkbox in the &lt;STRONG&gt;SAS Code&lt;/STRONG&gt; dialog, and then select &lt;STRONG&gt;Next&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;In the &lt;STRONG&gt;Execution Options&lt;/STRONG&gt; dialog, specify a location to store the SAS code, and then select &lt;EM&gt;only&lt;/EM&gt; &lt;STRONG&gt;Stream&lt;/STRONG&gt; for &lt;STRONG&gt;Result capabilities&lt;/STRONG&gt;.&amp;nbsp; Select &lt;STRONG&gt;Finish&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;Access Excel and then run the stored process using the SAS Add-In for Microsoft Office.&amp;nbsp; A dialog with this text is presented when the stored processes completes execution:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="verdana,geneva"&gt;The stored process created an Excel Workbook&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;The stored process forced the generation of an Excel workbook.&amp;nbsp; The SAS Add-In for Microsoft Office can open the Excel Workbook, but will not track it as refreshable content.&lt;/FONT&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Select&amp;nbsp;&lt;STRONG&gt;Open document&lt;/STRONG&gt; to open the Excel workbook.&amp;nbsp; There are 3 worksheets named "Model Tier Sedan", "Model Tier Wagon", and "Model Tier SUV"&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 16:38:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Using-the-Add-in-for-Excel-Can-a-Stored-Process-Output-to/m-p/683711#M4202</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-09-14T16:38:57Z</dc:date>
    </item>
  </channel>
</rss>

