<?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 Output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-Output/m-p/416281#M19916</link>
    <description>&lt;P&gt;Hi, I'm trying to add horizontal lines in my ODS excel output.&lt;/P&gt;&lt;P&gt;This is my sas code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel file='C:\Users\Administrator\Desktop\ODS\reportex.xlsx' style=SasDocPrinter&lt;BR /&gt;options(embedded_titles='yes' frozen_headers='yes' start_at='2,2' absolute_column_width='8' );&lt;BR /&gt;title1 font='Calibri' color=crimson bold h=30pt 'I Love Blue Color';&lt;BR /&gt;proc report data=vintexample&lt;BR /&gt;style(header)=[font_style=italic background=lightred fontsize=4 font_face='Calibri' foreground=white]&lt;BR /&gt;style(column)=[font_face='Calibri'];&lt;BR /&gt;define year / display group style(header)=[background=#000000];&lt;BR /&gt;define month / display style(header)=[background=#00096F];&lt;BR /&gt;define cnt / display style(header)=[background=#002D93];&lt;BR /&gt;define loan / display style(header)=[background=#1F51B7];&lt;BR /&gt;define m2 / display style(header)=[background=#4375DB];&lt;BR /&gt;define m3 / display style(header)=[background=#6799FF];&lt;BR /&gt;define m4 / display style(header)=[background=#8BBDFF];&lt;BR /&gt;define m5 / display style(header)=[background=#9DCFFF];&lt;BR /&gt;define m6 / display style(header)=[background=#C1F3FF];&lt;BR /&gt;compute year ;&lt;BR /&gt;if year gt ' ' then&lt;BR /&gt;call define(_row_,'style',&lt;BR /&gt;'style={bordertopcolor=black bordertopwidth=1}');&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="캡처1.JPG" style="width: 349px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16861iD087FD4A86BF5436/image-size/large?v=v2&amp;amp;px=999" role="button" title="캡처1.JPG" alt="캡처1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the SAS report output, It appears horizontal lines that separating years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I execute Excel, I cannot found any lines...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="캡처2.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16862i8A0FF17217F387CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="캡처2.JPG" alt="캡처2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I add horizontal lines in my ODS excel output?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2017 08:57:01 GMT</pubDate>
    <dc:creator>JMKang</dc:creator>
    <dc:date>2017-11-27T08:57:01Z</dc:date>
    <item>
      <title>ODS Excel Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-Output/m-p/416281#M19916</link>
      <description>&lt;P&gt;Hi, I'm trying to add horizontal lines in my ODS excel output.&lt;/P&gt;&lt;P&gt;This is my sas code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel file='C:\Users\Administrator\Desktop\ODS\reportex.xlsx' style=SasDocPrinter&lt;BR /&gt;options(embedded_titles='yes' frozen_headers='yes' start_at='2,2' absolute_column_width='8' );&lt;BR /&gt;title1 font='Calibri' color=crimson bold h=30pt 'I Love Blue Color';&lt;BR /&gt;proc report data=vintexample&lt;BR /&gt;style(header)=[font_style=italic background=lightred fontsize=4 font_face='Calibri' foreground=white]&lt;BR /&gt;style(column)=[font_face='Calibri'];&lt;BR /&gt;define year / display group style(header)=[background=#000000];&lt;BR /&gt;define month / display style(header)=[background=#00096F];&lt;BR /&gt;define cnt / display style(header)=[background=#002D93];&lt;BR /&gt;define loan / display style(header)=[background=#1F51B7];&lt;BR /&gt;define m2 / display style(header)=[background=#4375DB];&lt;BR /&gt;define m3 / display style(header)=[background=#6799FF];&lt;BR /&gt;define m4 / display style(header)=[background=#8BBDFF];&lt;BR /&gt;define m5 / display style(header)=[background=#9DCFFF];&lt;BR /&gt;define m6 / display style(header)=[background=#C1F3FF];&lt;BR /&gt;compute year ;&lt;BR /&gt;if year gt ' ' then&lt;BR /&gt;call define(_row_,'style',&lt;BR /&gt;'style={bordertopcolor=black bordertopwidth=1}');&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="캡처1.JPG" style="width: 349px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16861iD087FD4A86BF5436/image-size/large?v=v2&amp;amp;px=999" role="button" title="캡처1.JPG" alt="캡처1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the SAS report output, It appears horizontal lines that separating years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I execute Excel, I cannot found any lines...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="캡처2.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16862i8A0FF17217F387CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="캡처2.JPG" alt="캡처2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I add horizontal lines in my ODS excel output?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 08:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-Output/m-p/416281#M19916</guid>
      <dc:creator>JMKang</dc:creator>
      <dc:date>2017-11-27T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-Output/m-p/416364#M19917</link>
      <description>&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;compute year ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if year gt ' ' then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call define(_row_,'style',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'style={bordertopcolor=&lt;STRONG&gt;darkblack&lt;/STRONG&gt; bordertopwidth=1}');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;endcomp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or try another style:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;style={bordertoptype=&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or use LINE statement:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;computer after year/ style(line)={background=black};&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;line ' ';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;endcomp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 12:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-Output/m-p/416364#M19917</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-11-27T12:57:22Z</dc:date>
    </item>
  </channel>
</rss>

