<?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: Display All BY groups in same ODS EXCEL in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/321099#M17588</link>
    <description>&lt;P&gt;Thank you Cynthia.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Dec 2016 17:06:46 GMT</pubDate>
    <dc:creator>rk_sasanalyst</dc:creator>
    <dc:date>2016-12-25T17:06:46Z</dc:date>
    <item>
      <title>Display All BY groups in same ODS EXCEL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320112#M17544</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to print all BY groups in single ODS EXCEL sheet. But here each BY group should differentiate with &amp;nbsp;'Title' on same page.&lt;/P&gt;&lt;P&gt;Example: In sashelp.class, SEX='M' and 'F'. So, both 2 groups should print on the same ODS.excel sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ODS tagsets.excelXP options(sheet_name=);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a macro on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 07:16:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320112#M17544</guid>
      <dc:creator>rk_sasanalyst</dc:creator>
      <dc:date>2016-12-20T07:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Display All BY groups in same ODS EXCEL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320132#M17545</link>
      <description>&lt;P&gt;Your post is confusing. Are you using ODS EXCEL or Tagsets.ExcelXP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How/Where do macros come in?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If tagsets are being used, set sheet_imterval='none' and use PROC REPORT/PRINT to display your data as desired.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 09:06:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320132#M17545</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-20T09:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display All BY groups in same ODS EXCEL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320149#M17546</link>
      <description>&lt;P&gt;Why are you trying to create a macro when you don't even seem to know what yuo want to do? &amp;nbsp;This is the number 1 reason why 99% of macros are a total waste of disk space and get deleted as soon as I see them. &amp;nbsp;If your developing code for use across programs, departements, comapnies even, then you should be following the principals of software development lifecycle. &amp;nbsp;Firstly you would create your functional design specification which woud detail purpose, inputs, outputs, testing etc. &amp;nbsp;In this document you would detail requirements, such as whether or not to use ods.excel technology, or ods tagsets technology.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To answer you other question, if you are using tagsets.excelxp then then quick reference sheet really helps:&lt;BR /&gt;&lt;A href="https://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html" target="_blank"&gt;https://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Look at embedded_titles, and sheet_interval="none" options.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 09:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320149#M17546</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-12-20T09:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Display All BY groups in same ODS EXCEL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320676#M17557</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I would recommend trying something like this code before you try using macro code. Sheet_interval='none' was designed to do what you describe (putting multiple outputs like BY groups in one sheet).&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.excelxp file="c:\temp\bygroup_one_sheet.xml" 
    options(sheet_interval='none');
    
    proc print data=sashelp.class; by age;
      where age in (12, 13, 14);
    run;
ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Dec 2016 06:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/320676#M17557</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-12-22T06:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Display All BY groups in same ODS EXCEL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/321058#M17580</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It seems you posted a similar question in a different forum. I posted an updated version of this program over in that location&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Integration-with-Microsoft/ODS-tagsets-ExcelXP-control-SheetName-of-each-table-in-Multi/m-p/320736/highlight/false#M1985" target="_blank"&gt;https://communities.sas.com/t5/Integration-with-Microsoft/ODS-tagsets-ExcelXP-control-SheetName-of-each-table-in-Multi/m-p/320736/highlight/false#M1985&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; But, I am also posting the screen shot here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6486iE9C83BD3CD1D72C3/image-size/original?v=v2&amp;amp;px=-1" alt="byval_age.png" title="byval_age.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2016 20:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/321058#M17580</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-12-24T20:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display All BY groups in same ODS EXCEL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/321099#M17588</link>
      <description>&lt;P&gt;Thank you Cynthia.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2016 17:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Display-All-BY-groups-in-same-ODS-EXCEL/m-p/321099#M17588</guid>
      <dc:creator>rk_sasanalyst</dc:creator>
      <dc:date>2016-12-25T17:06:46Z</dc:date>
    </item>
  </channel>
</rss>

