<?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: Problems with Spanned headers - unable to center in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166213#M12198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works fine for me...what version of tagsets are you on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll see the following in the log&lt;/P&gt;&lt;P&gt;NOTE: This is the Excel XP tagset (Compatible with SAS 9.1.3 and above,&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; v1.130&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;08/02/2013). Add options(doc='help') to the ods statement for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I stand corrected, with your options on it doesn't work. It appears to be the WRAPTEXT option that causes the issues. Removing this will fix it though it may cause others &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2013 20:22:29 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-12-06T20:22:29Z</dc:date>
    <item>
      <title>Problems with Spanned headers - unable to center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166210#M12195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying center my spanned header and I am having difficulties. Any assistance would be great. Please see part of my code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp&lt;/P&gt;&lt;P&gt;&amp;nbsp; file= "/servloc/myfolder/shoes.xls"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; style=seaside&lt;/P&gt;&lt;P&gt;&amp;nbsp; options (&lt;/P&gt;&lt;P&gt;&amp;nbsp; autofit_height = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; row_repeat = '6'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Wraptext = 'no'&lt;/P&gt;&lt;P&gt;&amp;nbsp; frozen_headers = '6'&lt;/P&gt;&lt;P&gt;&amp;nbsp; frozen_rowheaders='6'&lt;/P&gt;&lt;P&gt;&amp;nbsp; EMBEDDED_TITLES= 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Orientation = 'landscape'&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_interval = 'bygroup'&lt;/P&gt;&lt;P&gt;&amp;nbsp; suppress_bylines = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_label = ' '&lt;/P&gt;&lt;P&gt;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp; PROC report data=shoes nowd style(header)={just=center};&lt;/P&gt;&lt;P&gt;&amp;nbsp; Title1&amp;nbsp; j=left font='Cambria' height=12pt bold&amp;nbsp; "Approval Report";&lt;/P&gt;&lt;P&gt;&amp;nbsp; Title2&amp;nbsp; j=left font='Cambria' height=12pt bold&amp;nbsp;&amp;nbsp; "November 2009 - October 2010"&lt;/P&gt;&lt;P&gt;&amp;nbsp; Title3&amp;nbsp; j=left font='Cambria' height=12pt bold&amp;nbsp; "Designer Name: #byval(brand)";&lt;/P&gt;&lt;P&gt;&amp;nbsp; by brand;&lt;/P&gt;&lt;P&gt;('12 MONTHS TOTAL' approved_0 denied_0 total_0 approval_rate_0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month1" approved_1 denied_1 total_1 approval_rate_1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month2" approved_2 denied_2 total_2 approval_rate_2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month3" approved_3 denied_3 total_3 approval_rate_3)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month4" approved_4 denied_4 total_4 approval_rate_4)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month5" approved_5 denied_5 total_5 approval_rate_5)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month6" approved_6 denied_6 total_6 approval_rate_6)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month7" approved_7 denied_7 total_7 approval_rate_7)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month8" approved_8 denied_8 total_8 approval_rate_8)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month9" approved_9 denied_9 total_9 approval_rate_9)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month10" approved_10 denied_10 total_10 approval_rate_10)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month11" approved_11 denied_11 total_11 approval_rate_11)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("&amp;amp;month12" approved_12 denied_12 total_12 approval_rate_12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define RANK/computed style(column)={cellwidth=0.4in tagattr='format:#,##0'};&lt;/P&gt;&lt;P&gt;&amp;nbsp; define brand/'BRAND NAME';&lt;/P&gt;&lt;P&gt;&amp;nbsp; define approved_0 - approved_12/&amp;nbsp; style(column)={cellwidth=0.7in tagattr='format:#,##0'};&lt;/P&gt;&lt;P&gt;&amp;nbsp; define denied_0 - denied_12 /&amp;nbsp; style(column)={cellwidth=0.5in tagattr='format:#,##0'};&lt;/P&gt;&lt;P&gt;&amp;nbsp; define total_0- total_12/&amp;nbsp; style(column)={cellwidth=0.5in tagattr='format:#,##0'};&lt;/P&gt;&lt;P&gt;&amp;nbsp; define approval_rate_0 - approval_rate_12/ style(column)={cellwidth=0.6in just=right};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; compute RANK;&lt;/P&gt;&lt;P&gt;&amp;nbsp; rn+ 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Rank = rn;&lt;/P&gt;&lt;P&gt;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i get ... it left justifies the header instead of centering it. what am i doing wrong? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1196px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" colspan="2" height="19" style="border-right: .5pt solid #AAC1D9;" width="308"&gt;&lt;/TD&gt;&lt;TD class="xl65" colspan="4" style="border-right: .5pt solid #AAC1D9;" width="221"&gt;12 MONTHS TOTAL&lt;/TD&gt;&lt;TD class="xl66" colspan="4" style="border-right: .5pt solid #AAC1D9; border-left: none;" width="225"&gt;OCTOBER 2010&lt;/TD&gt;&lt;TD class="xl66" colspan="4" style="border-right: .5pt solid #AAC1D9; border-left: none;" width="221"&gt;SEPTEMBER 2010&lt;/TD&gt;&lt;TD class="xl66" colspan="4" style="border-right: .5pt solid #AAC1D9; border-left: none;" width="221"&gt;AUGUST 2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19"&gt;RANK&lt;/TD&gt;&lt;TD class="xl64"&gt;BRAND NAME&lt;/TD&gt;&lt;TD class="xl64"&gt;APPROVED&lt;/TD&gt;&lt;TD class="xl64"&gt;DENIED&lt;/TD&gt;&lt;TD class="xl64"&gt;TOTAL&lt;/TD&gt;&lt;TD class="xl64"&gt;% APPRV&lt;/TD&gt;&lt;TD class="xl64"&gt;APPROVED&lt;/TD&gt;&lt;TD class="xl64"&gt;DENIED&lt;/TD&gt;&lt;TD class="xl64"&gt;TOTAL&lt;/TD&gt;&lt;TD class="xl64"&gt;% APRRV&lt;/TD&gt;&lt;TD class="xl64"&gt;APPROVED&lt;/TD&gt;&lt;TD class="xl64"&gt;DENIED&lt;/TD&gt;&lt;TD class="xl64"&gt;TOTAL&lt;/TD&gt;&lt;TD class="xl64"&gt;% APRRV&lt;/TD&gt;&lt;TD class="xl64"&gt;APPROVED&lt;/TD&gt;&lt;TD class="xl64"&gt;DENIED&lt;/TD&gt;&lt;TD class="xl64"&gt;TOTAL&lt;/TD&gt;&lt;TD class="xl64"&gt;% APPRV&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 18:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166210#M12195</guid>
      <dc:creator>NewSASPerson</dc:creator>
      <dc:date>2013-12-06T18:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Spanned headers - unable to center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166211#M12196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought Center was the default.&lt;/P&gt;&lt;P&gt;What happens if remove the style(header) portion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 18:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166211#M12196</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-12-06T18:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Spanned headers - unable to center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166212#M12197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so I am not sure what happened the first time I ran it, it appeared to work removing the style(header), but upon rerunning it several times, it still comes up left justified even after I removed style(header)={just=center};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Blessing Ekanem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 19:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166212#M12197</guid>
      <dc:creator>NewSASPerson</dc:creator>
      <dc:date>2013-12-06T19:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Spanned headers - unable to center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166213#M12198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works fine for me...what version of tagsets are you on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll see the following in the log&lt;/P&gt;&lt;P&gt;NOTE: This is the Excel XP tagset (Compatible with SAS 9.1.3 and above,&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; v1.130&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;08/02/2013). Add options(doc='help') to the ods statement for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I stand corrected, with your options on it doesn't work. It appears to be the WRAPTEXT option that causes the issues. Removing this will fix it though it may cause others &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 20:22:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166213#M12198</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-12-06T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Spanned headers - unable to center</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166214#M12199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks actually removing the Wrap Text did not hurt my report. Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 20:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-with-Spanned-headers-unable-to-center/m-p/166214#M12199</guid>
      <dc:creator>NewSASPerson</dc:creator>
      <dc:date>2013-12-18T20:56:02Z</dc:date>
    </item>
  </channel>
</rss>

