<?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: Using multiple values in the borderstyle style attribute in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787281#M25515</link>
    <description>It's really strange. The issue seems to come from the Excel destination only.&lt;BR /&gt;If you use a different borderstyle for the bottom and the top, then the colors are the same as in the HTML destination.&lt;BR /&gt;&lt;BR /&gt;*ISSUE;&lt;BR /&gt;ods excel file="&amp;amp;xxtraining./reporting/ods_excel_test1.xlsx"&lt;BR /&gt;          options(start_at='2,2' sheet_interval='none');&lt;BR /&gt;&lt;BR /&gt;proc print data=sashelp.class noobs&lt;BR /&gt;           style(column)=[bordertopstyle=solid    bordertopcolor=blue&lt;BR /&gt;                          borderbottomstyle=solid borderbottomcolor=red]; &lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods excel close;&lt;BR /&gt;&lt;BR /&gt;*OK;&lt;BR /&gt;ods excel file="&amp;amp;xxtraining./reporting/ods_excel_test2.xlsx"&lt;BR /&gt;          options(start_at='2,2' sheet_interval='none');&lt;BR /&gt;&lt;BR /&gt;proc print data=sashelp.class noobs&lt;BR /&gt;           style(column)=[bordertopstyle=solid     bordertopcolor=blue&lt;BR /&gt;                          borderbottomstyle=double borderbottomcolor=red];&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods excel close;</description>
    <pubDate>Thu, 23 Dec 2021 19:08:19 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2021-12-23T19:08:19Z</dc:date>
    <item>
      <title>Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/786722#M25505</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SAS online documentation gave me the impression that it would be possible to use multiple values in the borderstyle attribute&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="borderstyle.JPG" style="width: 677px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66875i070D09E5BC46A584/image-size/large?v=v2&amp;amp;px=999" role="button" title="borderstyle.JPG" alt="borderstyle.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_017/odsug/p1pt77toue3iyun0z4l9gth5as9f.htm#p0kyb7yjtv6caen1euiv1zt5tvy1" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_017/odsug/p1pt77toue3iyun0z4l9gth5as9f.htm#p0kyb7yjtv6caen1euiv1zt5tvy1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the following code doesn't work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="&amp;amp;xxtest./reporting/test.xlsx"
          options(start_at='2,2');

proc print data=sashelp.class noobs
           style(header)=[borderstyle=none double solid none] 
           style(column)=[bordertopstyle   =none
                          borderrightstyle =double
                          borderbottomstyle=solid
                          borderleftstyle  =none];
run;

ods excel close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Any idea about the right syntax?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 12:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/786722#M25505</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-12-20T12:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/786743#M25507</link>
      <description>&lt;P&gt;You want this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="c:\temp\test.xlsx"
          options(start_at='2,2');

proc print data=sashelp.class noobs
           style(header)=[borderstyle=none ] 
           style(column)=[bordertopstyle   =none
                          borderrightstyle =double borderrightwidth =2
                          borderbottomstyle=solid  borderbottomwidth=2
                          borderleftstyle  =none];
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="Ksharp_0-1640009684257.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66888iE99B9A973C981107/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1640009684257.png" alt="Ksharp_0-1640009684257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 14:14:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/786743#M25507</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-20T14:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/786942#M25511</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the question is: how to get more than one value for borderstyle as it seems possible according to the SAS online doc.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 14:54:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/786942#M25511</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-12-21T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787087#M25512</link>
      <description>&lt;P&gt;I don't know . Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; knows .&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 12:10:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787087#M25512</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-22T12:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787125#M25513</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the SAS online documentation they don't use border-style but borderstyle without hyphen.&lt;/P&gt;
&lt;P&gt;But beside that I've managed to find a possible explaination: border-style followed by multiple values is possible in CSS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="&amp;amp;xxtext/test.xlsx"
          options(start_at='2,2') 
          cssstyle="&amp;amp;xxtext./test.css";*;

proc print data=sashelp.class noobs;
run;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;test.css&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;.header, .rowheader {background-color:yellow;border-style=none double solid none;}
.data {background-color:pink;border-style=none double solid none;}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:47:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787125#M25513</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-12-22T15:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787131#M25514</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;In my experience, borderstyle options are honored best in PDF and RTF destinations. Sometimes, HTML output will respect multiple borderstyles. I generally control using the left/right/top/bottom version of the style override instead of pumping them into one borderstyle attribute override. However, ODS EXCEL is difficult. Also, remember that bottom border for one cell "bumps into" or is adjacent to the top border for the cell underneath it. Same thing with left/right. The right side border for one cell is adjacent to the left border of the cell next to it. For example, 2 completely different "looks" for the same code:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1640190127885.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66933iFD278C54B67EDFCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1640190127885.png" alt="Cynthia_sas_0-1640190127885.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;So frequently, you do not get the look you want in any destination. Whether you can do what you want with multiple attributes in one override may turn out to need more investigation in the doc or with Tech Support.&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 16:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787131#M25514</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-12-22T16:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787281#M25515</link>
      <description>It's really strange. The issue seems to come from the Excel destination only.&lt;BR /&gt;If you use a different borderstyle for the bottom and the top, then the colors are the same as in the HTML destination.&lt;BR /&gt;&lt;BR /&gt;*ISSUE;&lt;BR /&gt;ods excel file="&amp;amp;xxtraining./reporting/ods_excel_test1.xlsx"&lt;BR /&gt;          options(start_at='2,2' sheet_interval='none');&lt;BR /&gt;&lt;BR /&gt;proc print data=sashelp.class noobs&lt;BR /&gt;           style(column)=[bordertopstyle=solid    bordertopcolor=blue&lt;BR /&gt;                          borderbottomstyle=solid borderbottomcolor=red]; &lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods excel close;&lt;BR /&gt;&lt;BR /&gt;*OK;&lt;BR /&gt;ods excel file="&amp;amp;xxtraining./reporting/ods_excel_test2.xlsx"&lt;BR /&gt;          options(start_at='2,2' sheet_interval='none');&lt;BR /&gt;&lt;BR /&gt;proc print data=sashelp.class noobs&lt;BR /&gt;           style(column)=[bordertopstyle=solid     bordertopcolor=blue&lt;BR /&gt;                          borderbottomstyle=double borderbottomcolor=red];&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods excel close;</description>
      <pubDate>Thu, 23 Dec 2021 19:08:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787281#M25515</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-12-23T19:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple values in the borderstyle style attribute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787296#M25517</link>
      <description>Hi:&lt;BR /&gt;  I generally find that the Excel destination can be a little wonky with borders and styles, so I tend to avoid them because it takes too much fiddling and I'm never completely happy with what I get. So I've learned to change my expectations as far as ODS EXCEL output and the rendering that Microsoft does with the xlsx file created by ODS.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 23 Dec 2021 22:08:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-multiple-values-in-the-borderstyle-style-attribute/m-p/787296#M25517</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-12-23T22:08:08Z</dc:date>
    </item>
  </channel>
</rss>

