<?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: Remove empty row between title/footnote and table ODS EXCEL and PROC REPORT in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595595#M23377</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;The only thing I can think of is using &lt;STRONG&gt;hidden_rows&lt;/STRONG&gt; suboption or the &lt;STRONG&gt;row_heights&lt;/STRONG&gt; suboption. You can look in the documentation for examples of the full syntax. Here are examples using SASHELP.CLASS. think the row_heights suboption is probably the most flexible of the 2 methods since it doesn't depend on knowing which rows to "hide".&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;BR /&gt;hidden_rows output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hidden_rows.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33058i3E607FE859693EEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="hidden_rows.png" alt="hidden_rows.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row_heights output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="change_heights.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33059i85DD016B0BC5502E/image-size/large?v=v2&amp;amp;px=999" role="button" title="change_heights.png" alt="change_heights.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2019 23:36:51 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-10-10T23:36:51Z</dc:date>
    <item>
      <title>Remove empty row between title/footnote and table ODS EXCEL and PROC REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595486#M23374</link>
      <description>&lt;P&gt;I am trying to remove the extra row between a title and table, and footnote and table when using PROC REPORT and ODS EXCEL.&lt;/P&gt;&lt;P&gt;When the excel file is produced there is always a row between the title and the table, and the table and footnote. I would like to remove both of these empty rows. I have provided some sample code, and a screenshot of the resulting report. The yellow rows are the ones I would like to remove. Thanks in advance!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file ="&amp;amp;reportpath\Daily BLAH, &amp;amp;MC1DS_WORDDATE..xlsx" options (

	sheet_interval = 'none'
	embedded_titles = 'on' 
	tab_color='purple' start_at='1,1'
	frozen_headers='no' 
	ROW_HEIGHTS ='14,00,0,35,0,14,0'

	
);

ods escapechar='^';

title j=c bold "Approved BLAH BLAH Requests on &amp;amp;MC1DS_WORDDATE.";
proc report data=sbc4 (where = (request_date=&amp;amp;MC1DS.)) completerows;
columns var2 approved;
define var2/ group  "Requests" style(column)={just=l}
	exclusive preloadfmt format = approved.;
define approved / analysis n "Total"  ;
run;

title j=c bold "This Count by That";
proc report data=sbc4 (where = (request_date=&amp;amp;MC1DS.))  ;
columns var1 var2;
define var1/ group 'Var1' ;
compute var1;
IF _break_ in ('_RBREAK_') THEN do;
	var1= 'Grand Total';
	end;
endcomp;
define var2/ analysis n 'Total';
RBREAK after / summarize ;&lt;BR /&gt;footnote1 "This is footnote1.";&lt;BR /&gt;run;

ods listing;
ods&lt;/CODE&gt; excel close;&lt;/PRE&gt;&lt;PRE&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/33045iE6FE7958E630F995/image-size/large?v=1.0&amp;amp;px=-1" border="0" width="287" height="380" title="Annotation 2019-10-10 092628.png" alt="Annotation 2019-10-10 092628.png" /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 16:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595486#M23374</guid>
      <dc:creator>RussellShekha</dc:creator>
      <dc:date>2019-10-10T16:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remove empty row between title/footnote and table ODS EXCEL and PROC REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595521#M23375</link>
      <description>&lt;P&gt;Post and example with data that we can run. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/173369"&gt;@RussellShekha&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to remove the extra row between a title and table, and footnote and table when using PROC REPORT and ODS EXCEL.&lt;/P&gt;
&lt;P&gt;When the excel file is produced there is always a row between the title and the table, and the table and footnote. I would like to remove both of these empty rows. I have provided some sample code, and a screenshot of the resulting report. The yellow rows are the ones I would like to remove. Thanks in advance!&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file ="&amp;amp;reportpath\Daily BLAH, &amp;amp;MC1DS_WORDDATE..xlsx" options (

	sheet_interval = 'none'
	embedded_titles = 'on' 
	tab_color='purple' start_at='1,1'
	frozen_headers='no' 
	ROW_HEIGHTS ='14,00,0,35,0,14,0'

	
);

ods escapechar='^';

title j=c bold "Approved BLAH BLAH Requests on &amp;amp;MC1DS_WORDDATE.";
proc report data=sbc4 (where = (request_date=&amp;amp;MC1DS.)) completerows;
columns var2 approved;
define var2/ group  "Requests" style(column)={just=l}
	exclusive preloadfmt format = approved.;
define approved / analysis n "Total"  ;
run;

title j=c bold "This Count by That";
proc report data=sbc4 (where = (request_date=&amp;amp;MC1DS.))  ;
columns var1 var2;
define var1/ group 'Var1' ;
compute var1;
IF _break_ in ('_RBREAK_') THEN do;
	var1= 'Grand Total';
	end;
endcomp;
define var2/ analysis n 'Total';
RBREAK after / summarize ;&lt;BR /&gt;footnote1 "This is footnote1.";&lt;BR /&gt;run;

ods listing;
ods&lt;/CODE&gt; excel close;&lt;/PRE&gt;
&lt;PRE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2019-10-10 092628.png" style="width: 287px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33045iE6FE7958E630F995/image-dimensions/287x380?v=v2" width="287" height="380" role="button" title="Annotation 2019-10-10 092628.png" alt="Annotation 2019-10-10 092628.png" /&gt;&lt;/span&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 18:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595521#M23375</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2019-10-10T18:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove empty row between title/footnote and table ODS EXCEL and PROC REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595572#M23376</link>
      <description>&lt;P&gt;Try this at the end of your proc report code instead of the footnote:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;   compute after ;
       text='Footnote text goes here.';
       line text $50.;
   endcomp;
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Oct 2019 21:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595572#M23376</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-10T21:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove empty row between title/footnote and table ODS EXCEL and PROC REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595595#M23377</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;The only thing I can think of is using &lt;STRONG&gt;hidden_rows&lt;/STRONG&gt; suboption or the &lt;STRONG&gt;row_heights&lt;/STRONG&gt; suboption. You can look in the documentation for examples of the full syntax. Here are examples using SASHELP.CLASS. think the row_heights suboption is probably the most flexible of the 2 methods since it doesn't depend on knowing which rows to "hide".&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;BR /&gt;hidden_rows output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hidden_rows.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33058i3E607FE859693EEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="hidden_rows.png" alt="hidden_rows.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row_heights output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="change_heights.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33059i85DD016B0BC5502E/image-size/large?v=v2&amp;amp;px=999" role="button" title="change_heights.png" alt="change_heights.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 23:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595595#M23377</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-10-10T23:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Remove empty row between title/footnote and table ODS EXCEL and PROC REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595811#M23379</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;that did the trick with a little editing. I needed to be able to add font formatting to the lines, so this is what I went with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To&amp;nbsp;avoid an empty row between the title and the table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;compute&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;before&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_page_&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;/ &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=[font_weight=bold font_size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;16&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;pt just=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;line&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"This is a title"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;endcomp&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Between table and footnote:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;compute&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;after&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;_page_&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;/ &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=[font_weight=bold font_size=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;9&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;pt just=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;line&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"This is a footnote."&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;endcomp&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595811#M23379</guid>
      <dc:creator>RussellShekha</dc:creator>
      <dc:date>2019-10-11T16:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove empty row between title/footnote and table ODS EXCEL and PROC REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595813#M23380</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;I will give this a try as well. This might be a more direct way that allows you to keep using &lt;EM&gt;title&lt;/EM&gt; and &lt;EM&gt;footnote&lt;/EM&gt; in the proc. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:41:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Remove-empty-row-between-title-footnote-and-table-ODS-EXCEL-and/m-p/595813#M23380</guid>
      <dc:creator>RussellShekha</dc:creator>
      <dc:date>2019-10-11T16:41:20Z</dc:date>
    </item>
  </channel>
</rss>

