<?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: Change Style during ODS Tagsets.ExcelXP in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184546#M12795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; So I can't just use style= in the proc line, I'd have to manually change the elements?&amp;nbsp; That's too bad, but at least this is something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2014 14:03:10 GMT</pubDate>
    <dc:creator>wcp_fnfg</dc:creator>
    <dc:date>2014-11-25T14:03:10Z</dc:date>
    <item>
      <title>Change Style during ODS Tagsets.ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184544#M12793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've got an ODS output using ExcelXp.&amp;nbsp; Let's say I do a proc report then a proc tabulate, I'd like the tabulate to be a different style (like SASWeb, Meadow or Normal) than the report.&amp;nbsp; Is that possible??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 20:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184544#M12793</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-11-24T20:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change Style during ODS Tagsets.ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184545#M12794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, sort of. The style information is only written one time so there's no way to use a simple ODS destination level STYLE= option to change the style. But, REPORT, PRINT and TABULATE all have a way to provide STYLE= overrides at the STATEMENT level (down in the statement syntax instead of on the ODS statement). Please see the attached code. The SASWEB style will be used for BOTH outputs, but the overrides in the TABULATE step will change the output elements to be what is contained in the { } at the TABULATE statement level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;ods tagsets.excelxp file='c:\temp\change_style.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;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;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc tabulate data=sashelp.class;&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; class age / style={background=pink color=black fontweight=bold};&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; var height / style={background=pink color=black fontweight=bold};&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; classlev age / style={background=pink color=black fontweight=bold};&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; table age all='Overall',&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height*(min mean max median) /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; box={style={background=pink color=black fontweight=bold}};&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; keyword min mean max median all/ style={background=pink color=black fontweight=bold};&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;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 22:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184545#M12794</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-11-24T22:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change Style during ODS Tagsets.ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184546#M12795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; So I can't just use style= in the proc line, I'd have to manually change the elements?&amp;nbsp; That's too bad, but at least this is something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 14:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184546#M12795</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-11-25T14:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change Style during ODS Tagsets.ExcelXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184547#M12796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Cynthia has mentioned, the style= indicates a base template *for the document*.&amp;nbsp; Its pretty common.&lt;/P&gt;&lt;P&gt;You could however shrink your code somewhat by macrotizing (if that's a word) your styling.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;%let def_style={background=pink color=black fontweight=bold};&lt;/P&gt;&lt;P&gt;%let highlight_style={background=yellow color=red fontweight=bold};&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp "..." style=default;&lt;/P&gt;&lt;P&gt;proc tabulate ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class age / style=&amp;amp;def_style.;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc tabulate ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class other / style=&amp;amp;highlight_style.;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 14:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-Style-during-ODS-Tagsets-ExcelXP/m-p/184547#M12796</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-25T14:32:17Z</dc:date>
    </item>
  </channel>
</rss>

