<?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: ODS EXCEL setting borders in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857157#M26176</link>
    <description>If you want see what things in STYLE.MINIMAIL ,Try this :&lt;BR /&gt;&lt;BR /&gt;proc template;&lt;BR /&gt;source styles.minimal;&lt;BR /&gt;run;</description>
    <pubDate>Sat, 04 Feb 2023 10:11:42 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-02-04T10:11:42Z</dc:date>
    <item>
      <title>ODS EXCEL setting borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857139#M26173</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm trying to use ODS EXCEL to output my dataset.&lt;BR /&gt;Below is an example of my code.&lt;/P&gt;&lt;PRE&gt;data test;
	input ID$ age;
	cards;
	A 23
	B 99
	C 87
	;
run;

ods excel file="age.xlsx"  options(sheet_name="test");
proc report data=test
	style(header)=[background=white font_face="Calibri" foreground=black]
	style(column)=[font_face="Calibri"]
nowd;
run;
ods excel close;&lt;/PRE&gt;&lt;P&gt;The result is like the below picture, the background borders are not displayed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2023-02-04.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80094iC5461D83291976D2/image-size/small?v=v2&amp;amp;px=200" role="button" title="2023-02-04.png" alt="2023-02-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to keep all the borders like the one below, how can I modify my code?&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2023-02-04 (1).png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80095i5408B6591F967AE3/image-size/small?v=v2&amp;amp;px=200" role="button" title="2023-02-04 (1).png" alt="2023-02-04 (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 04:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857139#M26173</guid>
      <dc:creator>pfvk</dc:creator>
      <dc:date>2023-02-04T04:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL setting borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857153#M26174</link>
      <description>&lt;PRE&gt;ods excel file="c:\temp\age.xlsx"  options(sheet_name="test") &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;style=minimal;&lt;/STRONG&gt;&lt;/FONT&gt;
proc report data=test
	&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;style(header)=[ font_face="Calibri"]&lt;/STRONG&gt;&lt;/FONT&gt;
	style(column)=[font_face="Calibri"]
nowd;
run;
ods excel close;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1675502993057.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80097i49E5C3B804EDFA64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1675502993057.png" alt="Ksharp_0-1675502993057.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 09:30:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857153#M26174</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-02-04T09:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL setting borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857156#M26175</link>
      <description>&lt;P&gt;Thanks for your help!&lt;BR /&gt;I have a small question. Is there any reference including all meanings of "style" in ODS EXCEL?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 10:07:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857156#M26175</guid>
      <dc:creator>pfvk</dc:creator>
      <dc:date>2023-02-04T10:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL setting borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857157#M26176</link>
      <description>If you want see what things in STYLE.MINIMAIL ,Try this :&lt;BR /&gt;&lt;BR /&gt;proc template;&lt;BR /&gt;source styles.minimal;&lt;BR /&gt;run;</description>
      <pubDate>Sat, 04 Feb 2023 10:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-setting-borders/m-p/857157#M26176</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-02-04T10:11:42Z</dc:date>
    </item>
  </channel>
</rss>

