<?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: excelxp: create yellow cell below proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelxp-create-yellow-cell-below-proc-report/m-p/85841#M9136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Untested but my first thought would be an ODS tagsets.excelxp Text= with a style to provide a yellow background to text. You probably would need to provide a text literal to get it to display. You don't say if you want text or not. If not a NULL charcter (ASCII 255) might work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From some experience with other ODS output destinations this might appear on the third row after your table output as the ODS templates seem to have some element that isn't exposed to our control that outputs 2 blank lines regardless of destination.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 20:12:53 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-10-04T20:12:53Z</dc:date>
    <item>
      <title>excelxp: create yellow cell below proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelxp-create-yellow-cell-below-proc-report/m-p/85840#M9135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to create a yellow cell below my proc report output.&lt;/P&gt;&lt;P&gt;I'm using ods tagsets.excelxp to create the excel file (which is initially outputted as an xml file).&lt;/P&gt;&lt;P&gt;If, for example, my proc report table ends at row 10 I would like to add a cell with a yellow background in row 12 column A.&lt;BR /&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 17:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelxp-create-yellow-cell-below-proc-report/m-p/85840#M9135</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2012-10-04T17:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: excelxp: create yellow cell below proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelxp-create-yellow-cell-below-proc-report/m-p/85841#M9136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Untested but my first thought would be an ODS tagsets.excelxp Text= with a style to provide a yellow background to text. You probably would need to provide a text literal to get it to display. You don't say if you want text or not. If not a NULL charcter (ASCII 255) might work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From some experience with other ODS output destinations this might appear on the third row after your table output as the ODS templates seem to have some element that isn't exposed to our control that outputs 2 blank lines regardless of destination.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 20:12:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelxp-create-yellow-cell-below-proc-report/m-p/85841#M9136</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-10-04T20:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: excelxp: create yellow cell below proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelxp-create-yellow-cell-below-proc-report/m-p/85842#M9137</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; I can't find it now, but I remember something about ODS TEXT= and TAGSETS.EXCELXP. I am not sure that it works in all circumstances. It might be something to test out. For example, in the code below, run in SAS 9.3, and opened in Excel 2010, the output from ODS TEXT= does not appear in my file, when the XML file is opened in Excel. I used TAGSETS.EXCELXP version&amp;nbsp; v1.122 and also tested in version 1.127 -- and ODS TEXT= output did not appear in either output file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In the output created below, however, note that any text written with a LINE statement spans the whole table. And, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt; ODS TEXT did work, then it, too would span the entire table -- the text, like the LINE output would not settle just in COLUMN A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS does not have the concept of "column A" or "row 10" -- TAGSETS.EXCELXP makes an XML table from the data you send to PROC REPORT. PROC REPORT makes the report. If you have a BREAK or RBREAK statement, then summary lines get added. The summary information is an entire "row"...of summarized columns. As I show, you can "touch" one of the cells in the summary row with a COMPUTE block, but you only get 1 report row for each BREAK or RBREAK statement. And, if you use a LINE statement, then your "LINE area" spans the whole table, not just one cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ODS TAGSETS.EXCELXP file='c:\temp\makeyellow.xml' style=sasweb&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(doc='Help');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;title;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods listing close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc report data=sashelp.class nowd;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; column name age sex height weight;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; rbreak after / summarize;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute after /style={background=pink just=l};&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define('name','style','style={background=yellow}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; line 'This is a line';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods text='some text';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ODS TAGSETS.EXCELXP CLOSE;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10701i59BDFA6FFB5BB7A9/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="make_yellow_cell_xp.png" title="make_yellow_cell_xp.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 00:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelxp-create-yellow-cell-below-proc-report/m-p/85842#M9137</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-10-05T00:59:02Z</dc:date>
    </item>
  </channel>
</rss>

