<?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: proc report cell centering problem in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162772#M12087</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 cannot replicate your problem. When I use TAGSETS.EXCELXP, whether in EG or in Base SAS, with SAS 9.4 and EG 6.1, I do see centering. I see the centering in the SAS Report XML file and I see centering in the XML file created by TAGSETS.EXCELXP. See the attached screen shots and code. The style was used correctly in the EXCELXP output and the default style was used for the SASReport XML output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If your experience is different from this, then my recommendation is that you open a track with SAS Tech Support. (BTW, in order to see centering, sometimes you have to make the column wider to see the impact of centering -- in my program, I made the column wider with code.&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/10815i7EC099D59FFD84F5/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas_report_xml_centered.png" title="sas_report_xml_centered.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10816i37C2616345E394D1/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="excel_centered.png" title="excel_centered.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10817i2F2D74DA882B696C/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="excelxp_code.png" title="excelxp_code.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2014 20:40:06 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-07-01T20:40:06Z</dc:date>
    <item>
      <title>proc report cell centering problem</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162771#M12086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am ods tagset.excelxp and proc report. The column centering worked in base SAS but not on EG. In the EG XML output the column indicated centered but the data cell is actually righ aligned. Can't figue out why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 19:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162771#M12086</guid>
      <dc:creator>Yan</dc:creator>
      <dc:date>2014-07-01T19:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc report cell centering problem</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162772#M12087</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 cannot replicate your problem. When I use TAGSETS.EXCELXP, whether in EG or in Base SAS, with SAS 9.4 and EG 6.1, I do see centering. I see the centering in the SAS Report XML file and I see centering in the XML file created by TAGSETS.EXCELXP. See the attached screen shots and code. The style was used correctly in the EXCELXP output and the default style was used for the SASReport XML output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If your experience is different from this, then my recommendation is that you open a track with SAS Tech Support. (BTW, in order to see centering, sometimes you have to make the column wider to see the impact of centering -- in my program, I made the column wider with code.&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/10815i7EC099D59FFD84F5/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas_report_xml_centered.png" title="sas_report_xml_centered.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10816i37C2616345E394D1/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="excel_centered.png" title="excel_centered.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10817i2F2D74DA882B696C/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="excelxp_code.png" title="excelxp_code.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 20:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162772#M12087</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-07-01T20:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc report cell centering problem</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162773#M12088</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 tried your codes in my EG still right aligned. I guess it's probably something on the SAS server. I did open the xml file in notepad and found the following codes made the alignment happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Style ss: ID="data" ss:Parent="table"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Alignment ss:WrapText="1" ss:Horizontal="Right"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Style&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the local base SAS I won't see those style codes in the xml file generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 13:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162773#M12088</guid>
      <dc:creator>Yan</dc:creator>
      <dc:date>2014-07-02T13:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc report cell centering problem</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162774#M12089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it's still not clear to me what you mean by "EG XML" -- EG uses SASReport XML by default. This is NOT the same as Spreadsheet Markup Language XML created by TAGSETS.EXCELXP. My code was run in SAS 9.4 from inside EG. Both of my outputs did have centered values -- the SASReport XML and the TAGSETS.EXCELXP XML. If you ran my code and did not get centered results, then you need to open a track with Tech Support so they can investigate in more detail. It could be the version of SAS on your server. It could be that your version of TAGSETS.EXCELXP needs to be updated. It is impossible to guess. That is what Tech Support can help you with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 16:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-cell-centering-problem/m-p/162774#M12089</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-07-02T16:32:30Z</dc:date>
    </item>
  </channel>
</rss>

