<?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: ODS tagesets.excelxp in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-tagesets-excelxp/m-p/65241#M7607</link>
    <description>Hi:&lt;BR /&gt;
  As you have discovered, when you use ODS to create files for Excel to open, Excel generally ignores most of the SAS formats for columns that are numbers. If you want to have Excel format the numbers, such as you show (with a comma between the thousands), you must send a &lt;U&gt;Microsoft&lt;/U&gt; format from ODS to Excel. &lt;BR /&gt;
&lt;BR /&gt;
  The method by which you send a  &lt;U&gt;Microsoft&lt;/U&gt; format is through the use of STYLE= overrides, specifically, for TAGSETS.EXCELXP, the TAGATTR style attribute override. There are many previous forum postings on the use of TAGATTR and this one shows both TAGATTR and has a sample program that shows how the various forms of style overrides in PROC TABULATE will impact which cells (header or calculated data):&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=36690轒" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=36690轒&lt;/A&gt; &lt;BR /&gt;
&lt;BR /&gt;
  A search of support.sas.com or the forum search should get you more results on the use of TAGATTR with TAGSETS.EXCELXP.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
    <pubDate>Wed, 18 Aug 2010 19:47:39 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-08-18T19:47:39Z</dc:date>
    <item>
      <title>ODS tagesets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-tagesets-excelxp/m-p/65240#M7606</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm creating *.xml reports using the ODS tagsets.ExcelXP.&lt;BR /&gt;
&lt;BR /&gt;
I want the numbers to be formatted in 12,345.&lt;BR /&gt;
However, the number format is not working....all the numbers in *xml are look like 12345.&lt;BR /&gt;
&lt;BR /&gt;
Example:&lt;BR /&gt;
&lt;BR /&gt;
PROC TABULATE DATA=TEST ;&lt;BR /&gt;
  CLASS STATE;&lt;BR /&gt;
  VAR     RESP;&lt;BR /&gt;
  TABLE STATE ALL,&lt;BR /&gt;
              RESP*SUM=' '*F=COMMA10./RTS=20 MISSTEXT='0' PRINTMISS;&lt;BR /&gt;
RUN ;&lt;BR /&gt;
&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Wed, 18 Aug 2010 18:42:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-tagesets-excelxp/m-p/65240#M7606</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-18T18:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: ODS tagesets.excelxp</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-tagesets-excelxp/m-p/65241#M7607</link>
      <description>Hi:&lt;BR /&gt;
  As you have discovered, when you use ODS to create files for Excel to open, Excel generally ignores most of the SAS formats for columns that are numbers. If you want to have Excel format the numbers, such as you show (with a comma between the thousands), you must send a &lt;U&gt;Microsoft&lt;/U&gt; format from ODS to Excel. &lt;BR /&gt;
&lt;BR /&gt;
  The method by which you send a  &lt;U&gt;Microsoft&lt;/U&gt; format is through the use of STYLE= overrides, specifically, for TAGSETS.EXCELXP, the TAGATTR style attribute override. There are many previous forum postings on the use of TAGATTR and this one shows both TAGATTR and has a sample program that shows how the various forms of style overrides in PROC TABULATE will impact which cells (header or calculated data):&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=36690轒" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=36690轒&lt;/A&gt; &lt;BR /&gt;
&lt;BR /&gt;
  A search of support.sas.com or the forum search should get you more results on the use of TAGATTR with TAGSETS.EXCELXP.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 18 Aug 2010 19:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-tagesets-excelxp/m-p/65241#M7607</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-08-18T19:47:39Z</dc:date>
    </item>
  </channel>
</rss>

