<?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 Traffic lighting problems in Excel Add-In with tagsets.sasreport12 in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110245#M1245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Excel add-in to run a stored process that runs PROC REPORT to make a table with some traffic lighting.&amp;nbsp; I'm using default settings, and %stpbegin %stpend, so the ODS destination is tagsets.sasreport12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the report is viewed in Excel I don't see the traffic lighting.&lt;/P&gt;&lt;P&gt;If I view the report in EG I do see the traffic lighting.&lt;/P&gt;&lt;P&gt;And of course I can see the traffic lighting in the xml:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CSV&amp;gt;&lt;/P&gt;&lt;P&gt;"Slipper", "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $68,641";&lt;/P&gt;&lt;P&gt;"Sport Shoe", "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1,690"&amp;lt;Value style:color="#FF0000" /&amp;gt;;&lt;/P&gt;&lt;P&gt;"Women&amp;amp;#39;s Casual", "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $51,541";&lt;/P&gt;&lt;P&gt;"Women&amp;amp;#39;s Dress", "&amp;nbsp;&amp;nbsp;&amp;nbsp; $108,942";&lt;/P&gt;&lt;P&gt;&amp;lt;/CSV&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean it is a problem with how Excel interprets the xml?&amp;nbsp;&amp;nbsp; Any useful alternatives for doing traffic-lighting in a way that will work for the add-in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got Office Add-in 4.3, Linux server running 9.3, and &lt;STRONG&gt;Excel 2003. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can replicate the problem with just the sample code below.&lt;/P&gt;&lt;PRE&gt;ods tagsets.sasreport12
&amp;nbsp;&amp;nbsp;&amp;nbsp; ENCODING="UTF8" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLE=EGDefault 
&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASAddinforMicrosoftOffice/4.3/Styles/AMODefault.css") 
&amp;nbsp;&amp;nbsp;&amp;nbsp; body="~/Junk/TrafficLight.srx"
&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARSET=' '
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;
&amp;nbsp; proc report data=sashelp.shoes (obs=10) nowd;
&amp;nbsp;&amp;nbsp;&amp;nbsp; col product sales;
&amp;nbsp;&amp;nbsp;&amp;nbsp; compute sales;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if product="Sport Shoe" then call define
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (_COL_ ,'style','style=[foreground=red]');
&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp;
&amp;nbsp; run;
ods tagsets.sasreport12 close;
&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2012 14:15:49 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2012-07-18T14:15:49Z</dc:date>
    <item>
      <title>Traffic lighting problems in Excel Add-In with tagsets.sasreport12</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110245#M1245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Excel add-in to run a stored process that runs PROC REPORT to make a table with some traffic lighting.&amp;nbsp; I'm using default settings, and %stpbegin %stpend, so the ODS destination is tagsets.sasreport12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the report is viewed in Excel I don't see the traffic lighting.&lt;/P&gt;&lt;P&gt;If I view the report in EG I do see the traffic lighting.&lt;/P&gt;&lt;P&gt;And of course I can see the traffic lighting in the xml:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CSV&amp;gt;&lt;/P&gt;&lt;P&gt;"Slipper", "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $68,641";&lt;/P&gt;&lt;P&gt;"Sport Shoe", "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1,690"&amp;lt;Value style:color="#FF0000" /&amp;gt;;&lt;/P&gt;&lt;P&gt;"Women&amp;amp;#39;s Casual", "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $51,541";&lt;/P&gt;&lt;P&gt;"Women&amp;amp;#39;s Dress", "&amp;nbsp;&amp;nbsp;&amp;nbsp; $108,942";&lt;/P&gt;&lt;P&gt;&amp;lt;/CSV&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean it is a problem with how Excel interprets the xml?&amp;nbsp;&amp;nbsp; Any useful alternatives for doing traffic-lighting in a way that will work for the add-in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got Office Add-in 4.3, Linux server running 9.3, and &lt;STRONG&gt;Excel 2003. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can replicate the problem with just the sample code below.&lt;/P&gt;&lt;PRE&gt;ods tagsets.sasreport12
&amp;nbsp;&amp;nbsp;&amp;nbsp; ENCODING="UTF8" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLE=EGDefault 
&amp;nbsp;&amp;nbsp;&amp;nbsp; STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASAddinforMicrosoftOffice/4.3/Styles/AMODefault.css") 
&amp;nbsp;&amp;nbsp;&amp;nbsp; body="~/Junk/TrafficLight.srx"
&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARSET=' '
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;
&amp;nbsp; proc report data=sashelp.shoes (obs=10) nowd;
&amp;nbsp;&amp;nbsp;&amp;nbsp; col product sales;
&amp;nbsp;&amp;nbsp;&amp;nbsp; compute sales;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if product="Sport Shoe" then call define
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (_COL_ ,'style','style=[foreground=red]');
&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp;
&amp;nbsp; run;
ods tagsets.sasreport12 close;
&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110245#M1245</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-07-18T14:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic lighting problems in Excel Add-In with tagsets.sasreport12</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110246#M1246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you explicitly override the destination or style in your stored process? Or, do you just take the default result type from inside Excel? If you are allowing client-side choices to control the results, then go to your Options window inside AMO (see screemshot) and do this:&lt;/P&gt;&lt;P&gt;1) try SASReport, and click the Apply Style check box and rerun the stored process&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;2) try HTML as the result type and click the Apply Style check box and rerun the stored process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If neither of those works (or if the HTML works and the SASReport still doesn't work), then your best bet for help is to open a track with Tech Support on this. Your stored process may have some other settings or overrides that are preventing the traffic lighting from being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11680i280ACD6EEB51E326/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS_AMO_options.png" title="SAS_AMO_options.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 03:23:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110246#M1246</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-07-19T03:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic lighting problems in Excel Add-In with tagsets.sasreport12</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110247#M1247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will open a track with tech support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I allow client-side choices to specify the destination.&amp;nbsp; When I use SASreport I do not see the tradffic lighting in Excel. When I change to html I do see the traffic lighting.&amp;nbsp; I can replicate outside of stored processing, i.e. just running the code in my first post in base SAS, to write a .srx file.&amp;nbsp; I have attached the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open this .srx file in Enterprise Guide, I see the traffic lighting.&lt;/P&gt;&lt;P&gt;When I open the .srx file in a text editor, I see the tag for the traffic lighting.&lt;/P&gt;&lt;P&gt;When I open the .srx file in the Excel add-In, I don't see the traffic lighting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my guess is it's a problem that Excel (at least the old 2003 version of Excel) is having a hard time parsing/honoring the &amp;lt;Value style:color="#FF0000" /&amp;gt;&amp;nbsp; tag in the xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Curious as to whether someone with a more current version of Excel might be able to open the .srx file using the Excel add-on and see if the coloring is honored?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 12:47:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110247#M1247</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-07-19T12:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic lighting problems in Excel Add-In with tagsets.sasreport12</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110248#M1248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tech support responded that this is a bug resulting in the Excel Add-On not honoring the traffic lighting.&amp;nbsp; I assume it is a bug in how the xml is generated, or the schema used to read the xml (?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They think it may be related to &lt;A href="http://support.sas.com/kb/20/798.html"&gt;http://support.sas.com/kb/20/798.html&lt;/A&gt; , (which references a problem reported as fixed in 9.2).&amp;nbsp; They are going to re-open that issue (or create a new one). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Their suggestion in the mean time was to use html to send traffic-lighted reports back to the Office add-on.&amp;nbsp; But then, of course, you lose all the neat benefits of the SASREPORT format (&lt;A href="http://blogs.sas.com/content/sasdummy/2012/02/22/about-sas-report-format/"&gt;http://blogs.sas.com/content/sasdummy/2012/02/22/about-sas-report-format/&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 13:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Traffic-lighting-problems-in-Excel-Add-In-with-tagsets/m-p/110248#M1248</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2012-07-24T13:56:18Z</dc:date>
    </item>
  </channel>
</rss>

