<?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 - summary sheet_name='All', rest of sheets with byvar val in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12018#M3121</link>
    <description>Bingo !  Thanks.</description>
    <pubDate>Thu, 17 Feb 2011 18:31:53 GMT</pubDate>
    <dc:creator>Harry</dc:creator>
    <dc:date>2011-02-17T18:31:53Z</dc:date>
    <item>
      <title>tagsets.excelXP - summary sheet_name='All', rest of sheets with byvar val</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12016#M3119</link>
      <description>I’m having difficulty creating the 1st summary sheet with a specific name, and then automatically naming subsequent sheets with the BY variable value.  If I don’t include the summary sheet, the BY sheets are as desired, F &amp;amp; M, but it seems if I’ve specified a sheet_name value once, that’s the one that’s used for a subsequent sheets.   Or, if I specify a blank sheet_name in the 2nd ODS statement, the subsequent sheets are numbered consecutively, 2 &amp;amp; 3 and are not named with the BY variable value.&lt;BR /&gt;
&lt;BR /&gt;
How do I get three sheets, first one “All”, second “F”, third “M” ?  I downloaded the latest tagset, no difference.&lt;BR /&gt;
&lt;BR /&gt;
NOTE: This is the Excel XP tagset (Compatible with SAS 9.1.3 and above, v1.94, 09/09/12).&lt;BR /&gt;
&lt;BR /&gt;
title 'Want 1st sheet All, rest to be bygroups';&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods tagsets.excelxp &lt;BR /&gt;
	file	= "c:\temp\tagsets_sheetname.xls"&lt;BR /&gt;
	style	= seaside&lt;BR /&gt;
	options ( 	embedded_titles			= 'Yes' &lt;BR /&gt;
				sheet_name				= 'All'&lt;BR /&gt;
				sheet_interval			= 'bygroup'&lt;BR /&gt;
				sheet_label				= ' '&lt;BR /&gt;
				suppress_bylines		= 'yes'&lt;BR /&gt;
			)&lt;BR /&gt;
	;&lt;BR /&gt;
&lt;BR /&gt;
proc print data = sashelp.class noobs;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp &lt;BR /&gt;
	options ( 	sheet_interval			= 'bygroup'&lt;BR /&gt;
				sheet_label				= ' '&lt;BR /&gt;
				sheet_name				= ' '&lt;BR /&gt;
				suppress_bylines		= 'yes'&lt;BR /&gt;
			)&lt;BR /&gt;
	;&lt;BR /&gt;
&lt;BR /&gt;
proc sort data = sashelp.class&lt;BR /&gt;
			out = class;&lt;BR /&gt;
			by sex;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc print data = class noobs;&lt;BR /&gt;
	by sex;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
ods listing;</description>
      <pubDate>Thu, 17 Feb 2011 16:32:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12016#M3119</guid>
      <dc:creator>Harry</dc:creator>
      <dc:date>2011-02-17T16:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelXP - summary sheet_name='All', rest of sheets with byvar val</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12017#M3120</link>
      <description>See if the modification works for you&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.excelxp &lt;BR /&gt;
options ( sheet_interval = 'bygroup'&lt;BR /&gt;
&lt;B&gt;sheet_label = ' '&lt;BR /&gt;
sheet_name = 'none'&lt;/B&gt;&lt;BR /&gt;
suppress_bylines = 'yes'&lt;BR /&gt;
)&lt;BR /&gt;
;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 17 Feb 2011 16:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12017#M3120</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2011-02-17T16:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelXP - summary sheet_name='All', rest of sheets with byvar val</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12018#M3121</link>
      <description>Bingo !  Thanks.</description>
      <pubDate>Thu, 17 Feb 2011 18:31:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12018#M3121</guid>
      <dc:creator>Harry</dc:creator>
      <dc:date>2011-02-17T18:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.excelXP - summary sheet_name='All', rest of sheets with byvar val</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12019#M3122</link>
      <description>That is almost perfect!&lt;BR /&gt;
It shows the title line just once for each PROC so no title shows after the first by-group on the second PROC PRINT.&lt;BR /&gt;
Is that because I'm working with excelXP v1.94?&lt;BR /&gt;
Are later releases able to surface titles for every by-group?&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
      <pubDate>Fri, 18 Feb 2011 11:58:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-excelXP-summary-sheet-name-All-rest-of-sheets-with-byvar/m-p/12019#M3122</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-02-18T11:58:19Z</dc:date>
    </item>
  </channel>
</rss>

