<?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 ODS EXCEL-Multireport- title for the first report- title for the second and subtitle(#byval) in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Multireport-title-for-the-first-report-title-for-the/m-p/506546#M21918</link>
    <description>&lt;PRE class="tw-data-text tw-ta tw-text-small"&gt;&lt;SPAN&gt;Hello,

I have a display problem with this method.
When I set at the beginning embedded_titles = 'yes', I have two concerns
1 / at the beginning of the display I have this displayed #byval (sex)
2 / the title of the report below the value of the title byval

If I remove embedded_titles = 'yes' in beginning, no title #byval  in second report&lt;BR /&gt;my objectifs are&lt;BR /&gt;1/ Insert the title of the report
2/ then, if there are titles that result from the #byval then it appears after the title of the report
Thank you for your help&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class; by sex; run;

ODS LISTING CLOSE;

ods escapechar="~";

ods excel file="H:\newdirectory\test.xls" options(sheet_name='test' sheet_interval='none'   suppress_bylines='yes' );

ods text="~{style[color=Black fontstyle=italic font_weight=bold] Report 1}";

proc report data=  class ;
run;


ods text="~{style[color=Black fontstyle=italic font_weight=bold] Report 2}";

ods excel options(embedded_titles='yes'  );


proc report data= class ;
by sex;
title j=l '#byval(sex)';
run;
ods _all_ close;
ODS LISTING CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 17:35:09 GMT</pubDate>
    <dc:creator>mansour_ib_sas</dc:creator>
    <dc:date>2018-10-22T17:35:09Z</dc:date>
    <item>
      <title>ODS EXCEL-Multireport- title for the first report- title for the second and subtitle(#byval)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Multireport-title-for-the-first-report-title-for-the/m-p/506546#M21918</link>
      <description>&lt;PRE class="tw-data-text tw-ta tw-text-small"&gt;&lt;SPAN&gt;Hello,

I have a display problem with this method.
When I set at the beginning embedded_titles = 'yes', I have two concerns
1 / at the beginning of the display I have this displayed #byval (sex)
2 / the title of the report below the value of the title byval

If I remove embedded_titles = 'yes' in beginning, no title #byval  in second report&lt;BR /&gt;my objectifs are&lt;BR /&gt;1/ Insert the title of the report
2/ then, if there are titles that result from the #byval then it appears after the title of the report
Thank you for your help&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class; by sex; run;

ODS LISTING CLOSE;

ods escapechar="~";

ods excel file="H:\newdirectory\test.xls" options(sheet_name='test' sheet_interval='none'   suppress_bylines='yes' );

ods text="~{style[color=Black fontstyle=italic font_weight=bold] Report 1}";

proc report data=  class ;
run;


ods text="~{style[color=Black fontstyle=italic font_weight=bold] Report 2}";

ods excel options(embedded_titles='yes'  );


proc report data= class ;
by sex;
title j=l '#byval(sex)';
run;
ods _all_ close;
ODS LISTING CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 17:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Multireport-title-for-the-first-report-title-for-the/m-p/506546#M21918</guid>
      <dc:creator>mansour_ib_sas</dc:creator>
      <dc:date>2018-10-22T17:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL-Multireport- title for the first report- title for the second and subtitle(#byval)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Multireport-title-for-the-first-report-title-for-the/m-p/506550#M21919</link>
      <description>options nobyline;&lt;BR /&gt;I think that removes the by titles. Then you can explicitly control them using your own Title2 statements. You'll need to reference the by variables using #byval notation. See the documentation for more details and examples&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n1ukd9sqgqiwwhn1mrx4c1rbse1j.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0uv7aycufekfdn1jyaf35cvxeuj" target="_blank"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n1ukd9sqgqiwwhn1mrx4c1rbse1j.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0uv7aycufekfdn1jyaf35cvxeuj&lt;/A&gt;</description>
      <pubDate>Mon, 22 Oct 2018 17:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Multireport-title-for-the-first-report-title-for-the/m-p/506550#M21919</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-22T17:51:53Z</dc:date>
    </item>
  </channel>
</rss>

