<?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 TAGSET EXCEL XP New workbook in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64192#M868</link>
    <description>Just upgraded to 9.2. All works fine. But when I use excelxp tagsets to create multiple sheet workbooks sas generates one workbook for each sheet.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone have solution for this problem?&lt;BR /&gt;
&lt;BR /&gt;
Code used:&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp file=book.xls style=statdoc;&lt;BR /&gt;
ods tagsets.excelxp options( sheet_name='Sheet A'  sheet_interval='proc');&lt;BR /&gt;
proc tabulate;&lt;BR /&gt;
ods tagsets.excelxp options( sheet_name='Sheet B'  sheet_interval='proc');&lt;BR /&gt;
proc tabulate;&lt;BR /&gt;
ods tagsets.excelxp close;</description>
    <pubDate>Wed, 03 Dec 2008 16:55:05 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-12-03T16:55:05Z</dc:date>
    <item>
      <title>TAGSET EXCEL XP New workbook</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64192#M868</link>
      <description>Just upgraded to 9.2. All works fine. But when I use excelxp tagsets to create multiple sheet workbooks sas generates one workbook for each sheet.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone have solution for this problem?&lt;BR /&gt;
&lt;BR /&gt;
Code used:&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp file=book.xls style=statdoc;&lt;BR /&gt;
ods tagsets.excelxp options( sheet_name='Sheet A'  sheet_interval='proc');&lt;BR /&gt;
proc tabulate;&lt;BR /&gt;
ods tagsets.excelxp options( sheet_name='Sheet B'  sheet_interval='proc');&lt;BR /&gt;
proc tabulate;&lt;BR /&gt;
ods tagsets.excelxp close;</description>
      <pubDate>Wed, 03 Dec 2008 16:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64192#M868</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-03T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSET EXCEL XP New workbook</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64193#M869</link>
      <description>HI, &lt;BR /&gt;
  That is very strange. When I run this program:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.excelxp file='mywb.xls' style=statdoc;&lt;BR /&gt;
ods tagsets.excelxp options(sheet_name='Lucy' sheet_interval='proc');&lt;BR /&gt;
proc tabulate data=sashelp.class;&lt;BR /&gt;
  class age sex;&lt;BR /&gt;
  var height;&lt;BR /&gt;
  table sex,age,&lt;BR /&gt;
        height*(min mean max);&lt;BR /&gt;
run;&lt;BR /&gt;
         &lt;BR /&gt;
ods tagsets.excelxp options(sheet_name='Ricky' sheet_interval='proc');&lt;BR /&gt;
proc tabulate data=sashelp.class;&lt;BR /&gt;
  class height sex;&lt;BR /&gt;
  var age;&lt;BR /&gt;
  table sex,height,&lt;BR /&gt;
        age*(min mean max);&lt;BR /&gt;
run;&lt;BR /&gt;
         &lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
            &lt;BR /&gt;
using SAS 9.2, I get one workbook (mywb.xls) with two worksheets. I suggest that you check your SAS log for errors and, if there are no errors in the LOG, if your code still continues to give you a workbook for each procedure, then you should consider contacting SAS Tech Support for more help.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 03 Dec 2008 18:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64193#M869</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-12-03T18:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSET EXCEL XP New workbook</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64194#M870</link>
      <description>Hello&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your response.&lt;BR /&gt;
&lt;BR /&gt;
I have played around with the NEWFILE option. And the following code seems to have resolve my problem.&lt;BR /&gt;
&lt;BR /&gt;
ods html close;&lt;BR /&gt;
ods html newfile=bygroup;&lt;BR /&gt;
&lt;BR /&gt;
/Anders</description>
      <pubDate>Thu, 04 Dec 2008 09:29:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64194#M870</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-04T09:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSET EXCEL XP New workbook</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64195#M871</link>
      <description>Oh, I must have misread your original posting. I thought you wanted only ONE workbook using ODS TAGSETS.EXCELXP. I missed the need for multiple files for every BYGROUP using ODS HTML.&lt;BR /&gt;
 &lt;BR /&gt;
Glad you got it worked out!&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 04 Dec 2008 16:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/TAGSET-EXCEL-XP-New-workbook/m-p/64195#M871</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-12-04T16:21:06Z</dc:date>
    </item>
  </channel>
</rss>

