<?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 excel problem with SAS Style in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excel-problem-with-SAS-Style/m-p/36229#M5201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt; I agree with Tim. The color definition should start with either 'CX' -- CX5A5D62 or should start with # as in #5A5D62.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Also, depending on your version of SAS, you either have the incorrect usage of the REPLACE statement. If you are running in SAS 9.1.3, then you would have to &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;respecify &lt;/STRONG&gt;&lt;/SPAN&gt;the ENTIRE colors element list in order to correctly use the REPLACE statement. If you are using SAS 9.2, then you would be better off NOT using the REPLACE statement and using the STYLE or CLASS form of syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 17:33:11 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2011-07-26T17:33:11Z</dc:date>
    <item>
      <title>excel problem with SAS Style</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excel-problem-with-SAS-Style/m-p/36227#M5199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a template for style;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define style Styles.JHTitle;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent = styles.statictical;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; replace colors/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'titlebg' = "5A5D62"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'titlefb' = "#000000";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file = "output" style = JHTitle;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data = rwork.totals;&lt;/P&gt;&lt;P&gt;Title "test color";&lt;/P&gt;&lt;P&gt;Title1 "Color test";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open the file up in Excel&amp;nbsp; I get a message that says there is a problem with style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something in coding?&amp;nbsp; Or is there more I have to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for any help,&lt;/P&gt;&lt;P&gt;Mic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 17:18:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excel-problem-with-SAS-Style/m-p/36227#M5199</guid>
      <dc:creator>mick_g</dc:creator>
      <dc:date>2011-07-25T17:18:33Z</dc:date>
    </item>
    <item>
      <title>excel problem with SAS Style</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excel-problem-with-SAS-Style/m-p/36228#M5200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should 'titlebg' be "#5A5D62"? That is, shouldn't the hex digits be preceded with a #, like "titlefb"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 19:35:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excel-problem-with-SAS-Style/m-p/36228#M5200</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2011-07-25T19:35:26Z</dc:date>
    </item>
    <item>
      <title>excel problem with SAS Style</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excel-problem-with-SAS-Style/m-p/36229#M5201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt; I agree with Tim. The color definition should start with either 'CX' -- CX5A5D62 or should start with # as in #5A5D62.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Also, depending on your version of SAS, you either have the incorrect usage of the REPLACE statement. If you are running in SAS 9.1.3, then you would have to &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;respecify &lt;/STRONG&gt;&lt;/SPAN&gt;the ENTIRE colors element list in order to correctly use the REPLACE statement. If you are using SAS 9.2, then you would be better off NOT using the REPLACE statement and using the STYLE or CLASS form of syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 17:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excel-problem-with-SAS-Style/m-p/36229#M5201</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-07-26T17:33:11Z</dc:date>
    </item>
  </channel>
</rss>

