<?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 Tagset Options + Style Options in PROC Tabulate in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2964#M1320</link>
    <description>Wow, I can't believe I asked that...I think that's what happens after a morning of figuring out how to override the alignment options in ExcelXP until you realize there is no alignment option and you have to go through the Proc Template route. The glaringly obvious solutions have eluded me, apparently!&lt;BR /&gt;
&lt;BR /&gt;
Actually, that brings another question: my titles are centered ('Ethnicity' and the corresponding values) and my data are centered, both through template options. The '#' and '%' signs are not, however. I'm mostly concerned about the '%' sign, though, since that tagattr option is already in there. What kind of style element could I put in my template to enable me to center the # and % column headers?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
    <pubDate>Tue, 01 May 2007 15:17:20 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-05-01T15:17:20Z</dc:date>
    <item>
      <title>ExcelXP Tagset Options + Style Options in PROC Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2962#M1318</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I have an Excel spreadsheet being generated through ExcelXP and I am using a tagattr option within the body of the table (percent formatting). Additionally, I would like to add a background color for one particular variable but not for the other (I'm using a custom format, as can be seen in the classlev statements). Can I use both style options together, or will the tagattr not allow me to add anything else?  The tabulate code:&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data = stuff;&lt;BR /&gt;
	class level actname eth frl / style=classlev2;&lt;BR /&gt;
	classlev level / style=classlev;&lt;BR /&gt;
	classlev eth frl / style=classlev2;&lt;BR /&gt;
	table (level = ' ' )*(actname = ' ' all='Subtotal'),&lt;BR /&gt;
		eth='Ethnicity'*(n='#'*f=5. pctn&lt;ETH&gt;='%'*f=pctfmt6.*[style=[tagattr='Format: 0.0%']])&lt;BR /&gt;
		frl='FRL Status'*(n='#'*f=5. pctn&lt;FRL&gt;='%'*f=pctfmt6.*[style=[tagattr='Format: 0.0%']])&lt;BR /&gt;
		/ row=float misstext='-' indent=0;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
In this case, I would like to add a background shading to the Ethnicity data to increase readability.&lt;BR /&gt;
&lt;BR /&gt;
Possible or impossible?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;/FRL&gt;&lt;/ETH&gt;</description>
      <pubDate>Tue, 01 May 2007 14:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2962#M1318</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-05-01T14:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: ExcelXP Tagset Options + Style Options in PROC Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2963#M1319</link>
      <description>Elayne,&lt;BR /&gt;
&lt;BR /&gt;
Just do:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
eth='Ethnicity'*(n='#'*f=5. pctn&lt;ETH&gt;='%'*f=pctfmt6.*[style=[tagattr='Format: 0.0%' background=red]])&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
substituting the desired background color for red.&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS&lt;/ETH&gt;</description>
      <pubDate>Tue, 01 May 2007 15:06:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2963#M1319</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2007-05-01T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: ExcelXP Tagset Options + Style Options in PROC Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2964#M1320</link>
      <description>Wow, I can't believe I asked that...I think that's what happens after a morning of figuring out how to override the alignment options in ExcelXP until you realize there is no alignment option and you have to go through the Proc Template route. The glaringly obvious solutions have eluded me, apparently!&lt;BR /&gt;
&lt;BR /&gt;
Actually, that brings another question: my titles are centered ('Ethnicity' and the corresponding values) and my data are centered, both through template options. The '#' and '%' signs are not, however. I'm mostly concerned about the '%' sign, though, since that tagattr option is already in there. What kind of style element could I put in my template to enable me to center the # and % column headers?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Tue, 01 May 2007 15:17:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2964#M1320</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-05-01T15:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: ExcelXP Tagset Options + Style Options in PROC Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2965#M1321</link>
      <description>Does this work for you?&lt;BR /&gt;
[pre]&lt;BR /&gt;
eth='Ethnicity'*(n=[label='#' just=c]*f=5. pctn&lt;ETH&gt;=[label='%' just=c]*f=pctfmt6.*[style=[tagattr='Format: 0.0%']])&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS&lt;/ETH&gt;</description>
      <pubDate>Tue, 01 May 2007 19:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2965#M1321</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2007-05-01T19:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: ExcelXP Tagset Options + Style Options in PROC Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2966#M1322</link>
      <description>Sorry, I must have missed your reply!&lt;BR /&gt;
&lt;BR /&gt;
No, it didn't. Excel gives me an "Unable to read file" error when I try to open it up.&lt;BR /&gt;
&lt;BR /&gt;
ExcelXP is a very tricky little devil...&lt;BR /&gt;
&lt;BR /&gt;
-------------------------&lt;BR /&gt;
&lt;BR /&gt;
EDIT: I figured it out! KEYWORD statement with my custom format solved the issue.

(edited 14:34 PM 5/21/07 by ElayneR)&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: ElayneR</description>
      <pubDate>Mon, 21 May 2007 18:23:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ExcelXP-Tagset-Options-Style-Options-in-PROC-Tabulate/m-p/2966#M1322</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-05-21T18:23:01Z</dc:date>
    </item>
  </channel>
</rss>

