<?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: Removing Borders when Outputting LOG in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/532698#M22323</link>
    <description>&lt;P&gt;Thanks for the solution! I'm a bit new to the ODS language but I'm guessing your method reads in a log text file which is then outputted into ODS inside a data step. And the format_text function removes the borders for some reason.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Feb 2019 19:51:19 GMT</pubDate>
    <dc:creator>pkfamily</dc:creator>
    <dc:date>2019-02-04T19:51:19Z</dc:date>
    <item>
      <title>ODS EXCEL: Removing Borders when Outputting LOG</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/531504#M22289</link>
      <description>&lt;P&gt;Is there a way to remove the border when outputting the log into ODS EXCEL? I'm running SAS 9.4 M4.&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="for_sas_com.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26715i483BDCCDEC0F759A/image-size/large?v=v2&amp;amp;px=999" role="button" title="for_sas_com.png" alt="for_sas_com.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename test "K:\SAS\logs\log.log";
proc printto log=test new; run;

ODS excel file="K:\SAS\logs\test.xlsx" options(sheet_interval="none");
	proc printto;run;
	proc document name=mydoc(write);
		import textfile=test to logfile;run; 
		replay;run;
	quit;
ODS excel close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I tried the following styles to no avail as well as the grindlines="no" option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define style styles.test;
     parent=styles.default;
         style table from table /
            borderwidth=0
            cellspacing=0;
  end;
run;

proc template;
	define style styles.noborder;
		class table /
			borderwidth=0
			rules=none
			frame=void
			cellspacing=0
			background=white;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any help is appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 23:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/531504#M22289</guid>
      <dc:creator>pkfamily</dc:creator>
      <dc:date>2019-01-30T23:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL: Removing Borders when Outputting LOG</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/531867#M22299</link>
      <description>&lt;P&gt;This works:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename test "%sysfunc(pathname(WORK))\log.log";
proc printto log=test new; run;
data T; run;
proc printto;run;

ODS excel file="%sysfunc(pathname(WORK))\test.xlsx" options(sheet_interval="none");
data  _null_;
  if _n_ = 1 then do;
    declare odsout ODS();
  end; &lt;BR /&gt;  infile "%sysfunc(pathname(WORK))\log.log";&lt;BR /&gt;  input;
  ODS.format_text(data: _infile_); 
run;
ODS excel close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26751i7C1929B87F47B475/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 02:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/531867#M22299</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-02-01T02:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL: Removing Borders when Outputting LOG</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/532698#M22323</link>
      <description>&lt;P&gt;Thanks for the solution! I'm a bit new to the ODS language but I'm guessing your method reads in a log text file which is then outputted into ODS inside a data step. And the format_text function removes the borders for some reason.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:51:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/532698#M22323</guid>
      <dc:creator>pkfamily</dc:creator>
      <dc:date>2019-02-04T19:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL: Removing Borders when Outputting LOG</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/532764#M22324</link>
      <description>&lt;P&gt;I am discovering the ODSOUT object too. It looks very useful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 21:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-Removing-Borders-when-Outputting-LOG/m-p/532764#M22324</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-02-04T21:40:12Z</dc:date>
    </item>
  </channel>
</rss>

