<?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: How do I apply multiple Font Color in Same Cell through PROC report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492159#M129294</link>
    <description>&lt;P&gt;Hello RW9,&lt;/P&gt;&lt;P&gt;Tested this one yesterday, but it seems not enough, something else is probably also needed.&lt;/P&gt;&lt;P&gt;Anyways I am exploring the inline formatting thing you just specified I am looking into it.&lt;/P&gt;&lt;P&gt;I will post the solution if I get one.&lt;/P&gt;&lt;P&gt;thanks for giving me some direction.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2018 03:13:46 GMT</pubDate>
    <dc:creator>sb51469</dc:creator>
    <dc:date>2018-09-04T03:13:46Z</dc:date>
    <item>
      <title>How do I apply multiple Font Color in Same Cell through PROC report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492012#M129223</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to create a Excel using PROC report. I am not attaching my actual code due to Non-disclosure. But let me try to explain using a demo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data new;&lt;/P&gt;&lt;P&gt;Text = "Income Multiples";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc report data=new nowd noheader;&lt;/P&gt;&lt;P&gt;column text;&lt;/P&gt;&lt;P&gt;define text /display;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ODS tagsets Excelxp for this. My desired output in the excel&amp;nbsp;should be something like this, "&lt;FONT color="#FF0000"&gt;Income &lt;FONT color="#0000FF"&gt;Multiple&lt;FONT color="#000000"&gt;", which should appear in one Cell only. I am working on Version 9.2. I have no clue how to do this. I know I can apply style(column)={foreground=&amp;lt;color&amp;gt;}. But I have to present the same in 2 different colors. Need help on this.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 09:11:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492012#M129223</guid>
      <dc:creator>sb51469</dc:creator>
      <dc:date>2018-09-03T09:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I apply multiple Font Color in Same Cell through PROC report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492013#M129224</link>
      <description>&lt;P&gt;There is something called "inline formatting" where with the use of an escapechar you add in formatting:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings09/222-2009.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings09/222-2009.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So maybe:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^";

data new;
  text="^{style [foreground=red]}Income ^{style [foreground=blue]}Multiples";
run;&lt;BR /&gt;&lt;BR /&gt;proc report...&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not tested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 09:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492013#M129224</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-09-03T09:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I apply multiple Font Color in Same Cell through PROC report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492159#M129294</link>
      <description>&lt;P&gt;Hello RW9,&lt;/P&gt;&lt;P&gt;Tested this one yesterday, but it seems not enough, something else is probably also needed.&lt;/P&gt;&lt;P&gt;Anyways I am exploring the inline formatting thing you just specified I am looking into it.&lt;/P&gt;&lt;P&gt;I will post the solution if I get one.&lt;/P&gt;&lt;P&gt;thanks for giving me some direction.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 03:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492159#M129294</guid>
      <dc:creator>sb51469</dc:creator>
      <dc:date>2018-09-04T03:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I apply multiple Font Color in Same Cell through PROC report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492169#M129297</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;, I found a solution. Albeit the concept is same, just the syntax is different. It should be something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;text="^S={foreground=red}Income^S={} ^S={foreground=blue}Multiples^S={}";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the solution in this paper by Mr. Derek Morgan, Washington University Medical School, St. Louis, MO. Here is the link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/051-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/051-31.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 05:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-apply-multiple-Font-Color-in-Same-Cell-through-PROC/m-p/492169#M129297</guid>
      <dc:creator>sb51469</dc:creator>
      <dc:date>2018-09-04T05:52:45Z</dc:date>
    </item>
  </channel>
</rss>

