<?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: tagsets.excelxp in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23527#M4046</link>
    <description>Sorry...nothing in your original post indicated an ExcelXP version problem to me. I thought you were having the file opening issues with TAGSETS.EXCELXP output files and EG.&lt;BR /&gt;
&lt;BR /&gt;
The need to update the tagset template for TAGSETS.EXCELXP is mentioned in almost every paper on the subject. It is also the topic of this Tech Support note:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/394.html" target="_blank"&gt;http://support.sas.com/kb/32/394.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
When a sub-option does not work as you expect or as described, then the issue is most likely a version issue.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Tue, 18 May 2010 15:37:19 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-05-18T15:37:19Z</dc:date>
    <item>
      <title>tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23523#M4042</link>
      <description>I'm in the process of generating a bunch of reports all on one spreadsheet, with each report on one sheet.  Most of these reports have two reports within one sheet which prevents me from simply using the OUT= option in proc report and then proc exporting.&lt;BR /&gt;
&lt;BR /&gt;
I'm playing with this tagsets.excelxp process and I am running into trouble after a "successful" run within SAS Enterprise Guide (I also tried it in 9.1).  I get a Problems During Load window when trying to open the output in EXCEL.  What is the cause of this issue?  &lt;BR /&gt;
&lt;BR /&gt;
Any way to create multiple sheets in a workbook without using tagsets.excelxp?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/* Testing sheet names issue*/&lt;BR /&gt;
&lt;BR /&gt;
options ls=256 ps=40;&lt;BR /&gt;
ods tagsets.excelxp file=************hidden********************.xls' style = sasweb&lt;BR /&gt;
      options( frozen_headers='yes'&lt;BR /&gt;
            orientation='landscape'&lt;BR /&gt;
            sheet_name='MGCN'&lt;BR /&gt;
);&lt;BR /&gt;
proc report data = AA.CURRPCP1 nocenter nowindows missing spacing=2 split = "@"&lt;BR /&gt;
style(report)={font_face=times font_size=1 rules=none frame=void borderwidth=0 background=_undef_}&lt;BR /&gt;
style(header)={font_face=times font_size=1 rules=none frame=void borderwidth=0 background=_undef_ bordercolor=none}&lt;BR /&gt;
;&lt;BR /&gt;
column specialty ATL BER BUR CAM CAP CUM ESS GLO HUD HUN MER MID MON MOR OCE PAS SAL&lt;BR /&gt;
       SOM SUS UNI WAR TOTAL;&lt;BR /&gt;
&lt;BR /&gt;
define specialty/group width = 100 'SPECIALTY';&lt;BR /&gt;
define ATL/analysis width=6 format=comma6.0 'ATL'; &lt;BR /&gt;
define BER/analysis width=6 format=comma6.0 'BER';&lt;BR /&gt;
define BUR/analysis width=6 format=comma6.0 'BUR'; &lt;BR /&gt;
define CAM/analysis width=6 format=comma6.0 'CAM'; &lt;BR /&gt;
define CAP/analysis width=6 format=comma6.0 'CAP'; &lt;BR /&gt;
define CUM/analysis width=6 format=comma6.0 'CUM'; &lt;BR /&gt;
define ESS/analysis width=6 format=comma6.0 'ESS'; &lt;BR /&gt;
define GLO/analysis width=6 format=comma6.0 'GLO'; &lt;BR /&gt;
define HUD/analysis width=6 format=comma6.0 'HUD'; &lt;BR /&gt;
define HUN/analysis width=6 format=comma6.0 'HUN'; &lt;BR /&gt;
define MER/analysis width=6 format=comma6.0 'MER'; &lt;BR /&gt;
define MID/analysis width=6 format=comma6.0 'MID'; &lt;BR /&gt;
define MON/analysis width=6 format=comma6.0 'MON'; &lt;BR /&gt;
define MOR/analysis width=6 format=comma6.0 'MOR'; &lt;BR /&gt;
define OCE/analysis width=6 format=comma6.0 'OCE'; &lt;BR /&gt;
define PAS/analysis width=6 format=comma6.0 'PAS'; &lt;BR /&gt;
define SAL/analysis width=6 format=comma6.0 'SAL'; &lt;BR /&gt;
define SOM/analysis width=6 format=comma6.0 'SOM'; &lt;BR /&gt;
define SUS/analysis width=6 format=comma6.0 'SUS'; &lt;BR /&gt;
define UNI/analysis width=6 format=comma6.0 'UNI';  &lt;BR /&gt;
define WAR/analysis width=6 format=comma6.0 'WAR'; &lt;BR /&gt;
define TOTAL/computed width=6 format=comma6.0 'TOTAL'; &lt;BR /&gt;
&lt;BR /&gt;
compute TOTAL;&lt;BR /&gt;
TOTAL = _C2_ + _C3_ + _C4_ + _C5_ + _C6_ + _C7_ + _C8_ + _C9_ + _C10_ + _C11_ + _C12_+ _C13_&lt;BR /&gt;
+ _C14_ + _C15_ + _C16_ + _C17_ + _C18_ + _C19_ + _C20_ + _C21_ + _C22_;&lt;BR /&gt;
ENDCOMP;&lt;BR /&gt;
&lt;BR /&gt;
COMPUTE AFTER;&lt;BR /&gt;
SPECIALTY = 'TOTAL';&lt;BR /&gt;
ENDCOMP;&lt;BR /&gt;
&lt;BR /&gt;
RBREAK AFTER/SUMMARIZE ;&lt;BR /&gt;
&lt;BR /&gt;
title1 bold h=3 'Managed Care PCPs';&lt;BR /&gt;
run;&lt;BR /&gt;
proc report data = AA.CURRSPC1 nocenter nowindows missing spacing=2 split = "@"&lt;BR /&gt;
style(report)={font_face=times font_size=1 rules=none frame=void borderwidth=0 background=_undef_}&lt;BR /&gt;
style(header)={font_face=times font_size=1 rules=none frame=void borderwidth=0 background=_undef_ bordercolor=none}&lt;BR /&gt;
;&lt;BR /&gt;
column specialty ATL BER BUR CAM CAP CUM ESS GLO HUD HUN MER MID MON MOR OCE PAS SAL&lt;BR /&gt;
       SOM SUS UNI WAR TOTAL;&lt;BR /&gt;
&lt;BR /&gt;
define specialty/group width = 100 'SPECIALTY';&lt;BR /&gt;
define ATL/analysis width=6 format=comma6.0 'ATL'; &lt;BR /&gt;
define BER/analysis width=6 format=comma6.0 'BER'; &lt;BR /&gt;
define BUR/analysis width=6 format=comma6.0 'BUR'; &lt;BR /&gt;
define CAM/analysis width=6 format=comma6.0 'CAM'; &lt;BR /&gt;
define CAP/analysis width=6 format=comma6.0 'CAP'; &lt;BR /&gt;
define CUM/analysis width=6 format=comma6.0 'CUM'; &lt;BR /&gt;
define ESS/analysis width=6 format=comma6.0 'ESS'; &lt;BR /&gt;
define GLO/analysis width=6 format=comma6.0 'GLO'; &lt;BR /&gt;
define HUD/analysis width=6 format=comma6.0 'HUD'; &lt;BR /&gt;
define HUN/analysis width=6 format=comma6.0 'HUN'; &lt;BR /&gt;
define MER/analysis width=6 format=comma6.0 'MER'; &lt;BR /&gt;
define MID/analysis width=6 format=comma6.0 'MID'; &lt;BR /&gt;
define MON/analysis width=6 format=comma6.0 'MON'; &lt;BR /&gt;
define MOR/analysis width=6 format=comma6.0 'MOR'; &lt;BR /&gt;
define OCE/analysis width=6 format=comma6.0 'OCE'; &lt;BR /&gt;
define PAS/analysis width=6 format=comma6.0 'PAS'; &lt;BR /&gt;
define SAL/analysis width=6 format=comma6.0 'SAL'; &lt;BR /&gt;
define SOM/analysis width=6 format=comma6.0 'SOM'; &lt;BR /&gt;
define SUS/analysis width=6 format=comma6.0 'SUS'; &lt;BR /&gt;
define UNI/analysis width=6 format=comma6.0 'UNI';  &lt;BR /&gt;
define WAR/analysis width=6 format=comma6.0 'WAR'; &lt;BR /&gt;
define TOTAL/computed width=6 format=comma6.0 'TOTAL'; &lt;BR /&gt;
&lt;BR /&gt;
compute TOTAL;&lt;BR /&gt;
TOTAL = _C2_ + _C3_ + _C4_ + _C5_ + _C6_ + _C7_ + _C8_ + _C9_ + _C10_ + _C11_ + _C12_+ _C13_&lt;BR /&gt;
+ _C14_ + _C15_ + _C16_ + _C17_ + _C18_ + _C19_ + _C20_ + _C21_ + _C22_;&lt;BR /&gt;
ENDCOMP;&lt;BR /&gt;
&lt;BR /&gt;
COMPUTE AFTER;&lt;BR /&gt;
SPECIALTY = 'TOTAL';&lt;BR /&gt;
ENDCOMP;&lt;BR /&gt;
&lt;BR /&gt;
RBREAK AFTER/SUMMARIZE ;&lt;BR /&gt;
&lt;BR /&gt;
title1 bold h=3 'Managed Care SPEC/ANC';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp close;</description>
      <pubDate>Mon, 17 May 2010 19:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23523#M4042</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-17T19:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23524#M4043</link>
      <description>Hi:&lt;BR /&gt;
  When you use TAGSETS.EXCELXP within EG, you -cannot- open the XML file from the EG interface. The reason is that EG wants all XML files to be SASReport XML -- but the TAGSETS.EXCELXP file is NOT SASReport XML. If, however, you go to Windows Explorer and locate the file you just created and right-mouse click to open it -- or open the file from within Excel, then you should not have any problems. These Tech Support notes outline some of the issues that EG has with XML files:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/924.html" target="_blank"&gt;http://support.sas.com/kb/32/924.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/133.html" target="_blank"&gt;http://support.sas.com/kb/32/133.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  As for your other question, you need to check out some of the sub-options that can be used with TAGSETS.EXCELXP, in particular, the sheet_name sub-option and, I believe, the sheet_interval sub-option.  You use the sheet_interval sub-option to control how many tables should be put on one sheet. If you look at the internal documentation, you will see this description:&lt;BR /&gt;
[pre]&lt;BR /&gt;
Sheet_Interval:   Default Value 'Table'&lt;BR /&gt;
     Values: Table, Page, Bygroup, Proc, None.&lt;BR /&gt;
     This option controls how many tables will go in a worksheet.&lt;BR /&gt;
     In reality only one table is allowed per worksheet.  To get more&lt;BR /&gt;
     than one table, the tables are actually combined into one.&lt;BR /&gt;
                 &lt;BR /&gt;
     Specifying a sheet interval will cause the current worksheet to close.&lt;BR /&gt;
     It is recommended that this always be the first option to insure that&lt;BR /&gt;
     The options following it apply to the new worksheet rather than the&lt;BR /&gt;
     last worksheet.&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                        &lt;BR /&gt;
A good paper that discusses the use of many of the EXCELXP suboptions is here:&lt;BR /&gt;
 &lt;A href="http://www.nesug.org/proceedings/nesug08/ap/ap06.pdf" target="_blank"&gt;http://www.nesug.org/proceedings/nesug08/ap/ap06.pdf&lt;/A&gt; (sheet_interval is discussed on page 9)&lt;BR /&gt;
             &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 18 May 2010 04:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23524#M4043</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-18T04:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23525#M4044</link>
      <description>My initial intuition was that this issue was EG related, but however as I have mentioned in my post, I also tried this process on 9.1.  The only online documentation I found relating to bugs with this process dealt with a templates issue, however I have played around with proc template and other reporting templates and this does not remedy the situation.  Perhaps it's an Excel version issue?  I have Excel 2003.</description>
      <pubDate>Tue, 18 May 2010 13:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23525#M4044</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-18T13:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23526#M4045</link>
      <description>I finally figured it out:&lt;BR /&gt;
&lt;BR /&gt;
Apparently you need to run the following code before invoking tagsets.excelxp&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excltags.tpl" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/excltags.tpl&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
SAS needs to do a better job in documenting the need to run this when encountering the issue I described.</description>
      <pubDate>Tue, 18 May 2010 15:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23526#M4045</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-18T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23527#M4046</link>
      <description>Sorry...nothing in your original post indicated an ExcelXP version problem to me. I thought you were having the file opening issues with TAGSETS.EXCELXP output files and EG.&lt;BR /&gt;
&lt;BR /&gt;
The need to update the tagset template for TAGSETS.EXCELXP is mentioned in almost every paper on the subject. It is also the topic of this Tech Support note:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/394.html" target="_blank"&gt;http://support.sas.com/kb/32/394.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
When a sub-option does not work as you expect or as described, then the issue is most likely a version issue.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 18 May 2010 15:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelxp/m-p/23527#M4046</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-18T15:37:19Z</dc:date>
    </item>
  </channel>
</rss>

