<?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 ODS TAGSETS.EXCELXP with Proc Tabulate and the indent function in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-with-Proc-Tabulate-and-the-indent-function/m-p/8420#M2849</link>
    <description>Is there a special feature with ODS EXCELXP that when using a Proc Tabulate the Indent= option is retained?  When I use ODS to output to an Excel Spreadsheet and I use the INDENT=2 (for example) option, what should have been indented 2 spaces is placed in next available Cell.  Any help would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Rod</description>
    <pubDate>Thu, 22 Apr 2010 21:18:26 GMT</pubDate>
    <dc:creator>RodTennant</dc:creator>
    <dc:date>2010-04-22T21:18:26Z</dc:date>
    <item>
      <title>ODS TAGSETS.EXCELXP with Proc Tabulate and the indent function</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-with-Proc-Tabulate-and-the-indent-function/m-p/8420#M2849</link>
      <description>Is there a special feature with ODS EXCELXP that when using a Proc Tabulate the Indent= option is retained?  When I use ODS to output to an Excel Spreadsheet and I use the INDENT=2 (for example) option, what should have been indented 2 spaces is placed in next available Cell.  Any help would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Rod</description>
      <pubDate>Thu, 22 Apr 2010 21:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-with-Proc-Tabulate-and-the-indent-function/m-p/8420#M2849</guid>
      <dc:creator>RodTennant</dc:creator>
      <dc:date>2010-04-22T21:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS.EXCELXP with Proc Tabulate and the indent function</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-with-Proc-Tabulate-and-the-indent-function/m-p/8421#M2850</link>
      <description>Hi:&lt;BR /&gt;
  The INDENT= option works differently for most ODS destinations, than it does for the LISTING destination:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473740.htm#a003068110" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473740.htm#a003068110&lt;/A&gt;&lt;BR /&gt;
[quote from the doc]&lt;B&gt;&lt;BR /&gt;
In the HTML, RTF, and Printer destinations, the INDENT= option suppresses the row headings for class variables but does not indent nested row headings.&lt;BR /&gt;
&lt;/B&gt;[endquote]&lt;BR /&gt;
  &lt;BR /&gt;
If you run this demo program (modified from the doc to use SASHELP.PRDSALE), you will see that none of the ODS destinations except for LISTING use INDENT=. (Same as the fact that NOSEPS is a LISTING only option.) All the other destinations, including TAGSETS.EXCELXP put the DIVISION rowheader information into a new column to the right of the REGION rowheader information.&lt;BR /&gt;
                     &lt;BR /&gt;
There is an ODS style attribute called INDENT that works for RTF, PDF and HTML, where INDENT= is used in PROC REPORT to simulate the type of report indenting that you get with TABULATE. However, this option does not seem to be honored by TAGSETS.EXCELXP.  I don't know whether there's any way to force Excel to indent when you use TAGSETS.EXCELXP...that would be a question for Tech Support.&lt;BR /&gt;
                                &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
options nodate pageno=1 linesize=80 pagesize=60; &lt;BR /&gt;
ods listing;&lt;BR /&gt;
ods html file='use_indent.html' style=sasweb;&lt;BR /&gt;
ods rtf file='use_indent.rtf';&lt;BR /&gt;
ods pdf file='use_indent.pdf';&lt;BR /&gt;
ods tagsets.excelxp file='use_indent.xls' style=sasweb;&lt;BR /&gt;
  proc tabulate data=sashelp.prdsale format=dollar12. noseps; &lt;BR /&gt;
     title '1) Use INDENT= TABLE option in TABULATE to see behavior in other ODS destinations';&lt;BR /&gt;
     class region division prodtype; &lt;BR /&gt;
     var actual; &lt;BR /&gt;
      table region*division,&lt;BR /&gt;
          prodtype='ProdType'*actual=' '*sum=' ' &lt;BR /&gt;
           / rts=25 indent=4; &lt;BR /&gt;
  run; &lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
                                 &lt;BR /&gt;
                            &lt;BR /&gt;
ods html file='use_report.html' style=sasweb;&lt;BR /&gt;
ods rtf file='use_report.rtf';&lt;BR /&gt;
ods pdf file='use_report.pdf';&lt;BR /&gt;
ods tagsets.excelxp file='use_report.xls' style=sasweb;&lt;BR /&gt;
                   &lt;BR /&gt;
  proc report  data=sashelp.prdsale nowd;&lt;BR /&gt;
    title '2) Use INDENT= style attribute with PROC REPORT';&lt;BR /&gt;
    column region division prodtype,actual;&lt;BR /&gt;
    define region / group noprint ;&lt;BR /&gt;
    define division / group &lt;BR /&gt;
           style(column)={indent=.5in cellwidth=1.5in}&lt;BR /&gt;
           style(header)={cellwidth=1.5in};&lt;BR /&gt;
    define prodtype / across;&lt;BR /&gt;
    define actual / sum;&lt;BR /&gt;
    compute before region / style={just=l};&lt;BR /&gt;
      line Region $25.;&lt;BR /&gt;
    endcomp;&lt;BR /&gt;
  run;&lt;BR /&gt;
ods _all_ close;[/pre]</description>
      <pubDate>Fri, 23 Apr 2010 03:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-with-Proc-Tabulate-and-the-indent-function/m-p/8421#M2850</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-23T03:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS.EXCELXP with Proc Tabulate and the indent function</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-with-Proc-Tabulate-and-the-indent-function/m-p/8422#M2851</link>
      <description>Thank you Cynthia...I appreciate your time and value your input.&lt;BR /&gt;
&lt;BR /&gt;
Rod</description>
      <pubDate>Fri, 23 Apr 2010 20:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-with-Proc-Tabulate-and-the-indent-function/m-p/8422#M2851</guid>
      <dc:creator>RodTennant</dc:creator>
      <dc:date>2010-04-23T20:22:42Z</dc:date>
    </item>
  </channel>
</rss>

