<?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: Style elements in PROC REPORT to hide cell lines in .docx output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Style-elements-in-PROC-REPORT-to-hide-cell-lines-in-docx-output/m-p/819798#M323582</link>
    <description>&lt;P&gt;ODS Word is preproduction which means that things sometimes don't work as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can get the output you want with RTF then use RTF. I have found in my limited attempts with ODS Word that anything except extremely simple tables seems to have an issue with one or more of the complications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, please double check your posted proc report code. I tried substituting a data set I had for yours get errors with the Columns statement with a missing )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 19:32:44 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-06-22T19:32:44Z</dc:date>
    <item>
      <title>Style elements in PROC REPORT to hide cell lines in .docx output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Style-elements-in-PROC-REPORT-to-hide-cell-lines-in-docx-output/m-p/819645#M323535</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;ods word file="\test.docx";
ods escapechar="^";
proc report data=final1 nowd
	style(report)=[verticalalign=middle cellspacing=0 width=100% bordercolor=black]
	style(header)=[background=white verticalalign=middle just=center bordercolor=black borderbottomstyle=hidden]
	style(column)=[just=center];

	columns ("^S={borderbottomstyle=hidden bordertopstyle=hidden}Group" grpvar) ("Total A and B^{super a}" ("A" a1 a2) ("B" b1 b2));

define grpvar/display " " style(column)=[just=left] style(header)=[bordertopstyle=hidden];
define a1/display "A1";
define a2/display "A2";
define b1/display "B1";
define b2/display "B2";
run;
ods word close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am having trouble removing the line above the "Group" cell in the table below when creating .docx output, but I am able to create it with .rtf output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;current output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jackieme_0-1655908676206.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72550i12EB8527CF75298D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jackieme_0-1655908676206.png" alt="jackieme_0-1655908676206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;desired output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jackieme_1-1655908793371.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72551iDAA040961A28E05C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jackieme_1-1655908793371.png" alt="jackieme_1-1655908793371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 19:46:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Style-elements-in-PROC-REPORT-to-hide-cell-lines-in-docx-output/m-p/819645#M323535</guid>
      <dc:creator>jackieme</dc:creator>
      <dc:date>2022-06-22T19:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Style elements in PROC REPORT to hide cell lines in .docx output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Style-elements-in-PROC-REPORT-to-hide-cell-lines-in-docx-output/m-p/819798#M323582</link>
      <description>&lt;P&gt;ODS Word is preproduction which means that things sometimes don't work as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can get the output you want with RTF then use RTF. I have found in my limited attempts with ODS Word that anything except extremely simple tables seems to have an issue with one or more of the complications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, please double check your posted proc report code. I tried substituting a data set I had for yours get errors with the Columns statement with a missing )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 19:32:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Style-elements-in-PROC-REPORT-to-hide-cell-lines-in-docx-output/m-p/819798#M323582</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-06-22T19:32:44Z</dc:date>
    </item>
  </channel>
</rss>

