<?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 row in ods excel between Data and Footlines in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549928#M152654</link>
    <description>&lt;P&gt;compute block ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;compute after;

 line 'My footnote' ;

endcomp;&lt;/PRE&gt;</description>
    <pubDate>Wed, 10 Apr 2019 12:29:13 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2019-04-10T12:29:13Z</dc:date>
    <item>
      <title>Remove row in ods excel between Data and Footlines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549520#M152496</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i remove the row between my Data and the Footnote in ODS EXCEL?&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel

file="H:\DATA\Berechtigungsgruppen_nach_Department2.xls" 
options(autofilter="1-2" embedded_titles="yes" embedded_footnotes="yes" frozen_headers="yes"
sheet_name="Analyse Departments" ) ;
title color=black height=12pt 'Berechtigungsgruppen je Deparment';
footnote color=black height=10pt 'Summierung nach Departments und Berechtigungsgruppen';

proc report data=Eval_Department5 nowd spanrows
style(header)=[background=#A4A4A4 font_size=9pt color=black just=left vjust=c]
style(column)=[font_size=8pt just=left];
define Department / order style(column)={vjust=c just=left};
*define Department / display style(column)=[cellwidth=80pt];
define Gruppe / display style(column)=[cellwidth=142pt];
define Anzahl /display style(column)=[cellwidth=53pt just=right];
define Anzahl/analysis sum;
compute after ; 
Department ="Gesamt";
endcomp;

compute department;

if Department = 'Total' then
do;
department=department;
call define(_row_,'style','style={font_weight=bold font_size=8pt background=#A4A4A4 }');
end;
endcomp;

compute gruppe;

if gruppe = 'Gesamt' then
do;
gruppe=gruppe;
call define(_row_,'style','style={font_weight=bold font_size=8pt background=lightgrey }');
end;
endcomp;
run;
&lt;BR /&gt;od&lt;/CODE&gt;s excel close;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS ROW REMOVED.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28541i3A8EF59B7C6B31E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAS ROW REMOVED.jpg" alt="SAS ROW REMOVED.jpg" /&gt;&lt;/span&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Apr 2019 08:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549520#M152496</guid>
      <dc:creator>MarcoHonig</dc:creator>
      <dc:date>2019-04-09T08:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Remove row in ods excel between Data and Footlines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549596#M152515</link>
      <description>&lt;P&gt;Try Use option POSTTEXT= instead of footnote.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc report data=Eval_Department5 nowd spanrows style(report)=[posttext='my footnote' ]&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 13:44:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549596#M152515</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-04-09T13:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove row in ods excel between Data and Footlines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549853#M152629</link>
      <description>&lt;P&gt;Thanks for your quick answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It also creates an extra row between my Data and the posttext.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 06:39:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549853#M152629</guid>
      <dc:creator>MarcoHonig</dc:creator>
      <dc:date>2019-04-10T06:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Remove row in ods excel between Data and Footlines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549928#M152654</link>
      <description>&lt;P&gt;compute block ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;compute after;

 line 'My footnote' ;

endcomp;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Apr 2019 12:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549928#M152654</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-04-10T12:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove row in ods excel between Data and Footlines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549963#M152669</link>
      <description>Same Problem. I guess it can be done with a proc template... But i did not find the right one yet</description>
      <pubDate>Wed, 10 Apr 2019 13:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-row-in-ods-excel-between-Data-and-Footlines/m-p/549963#M152669</guid>
      <dc:creator>MarcoHonig</dc:creator>
      <dc:date>2019-04-10T13:57:12Z</dc:date>
    </item>
  </channel>
</rss>

