<?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: tagsets.ExcelXP question in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-ExcelXP-question/m-p/6080#M2435</link>
    <description>I just found myself the answer...:-)&lt;BR /&gt;
&lt;BR /&gt;
I should use Option (embedded_titles='yes'), so the ods statement would be:&lt;BR /&gt;
&lt;BR /&gt;
ods &amp;amp;_ODSDEST file=_webout style=&amp;amp;_ODSSTYLE options(default_column_width="7.5, 7.5, 5, 7.5, 7.5"  embedded_titles='yes' );&lt;BR /&gt;
&lt;BR /&gt;
Regards to all the forum members!</description>
    <pubDate>Fri, 28 Dec 2007 19:58:08 GMT</pubDate>
    <dc:creator>Michela_sas</dc:creator>
    <dc:date>2007-12-28T19:58:08Z</dc:date>
    <item>
      <title>tagsets.ExcelXP question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-ExcelXP-question/m-p/6079#M2434</link>
      <description>I am creating an excel worksheeet using ODS tagsets.ExcelXP. &lt;BR /&gt;
I create an XML file and I can open it as expected in Excel. So far, so good.&lt;BR /&gt;
&lt;BR /&gt;
When I try to add a title, for some reasons I am not able to see it in the Excel file. I find it in the XML, but not in Excel.&lt;BR /&gt;
&lt;BR /&gt;
This is the code I submit:&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
  define style styles.XLStatistical;&lt;BR /&gt;
    parent = styles.Statistical;&lt;BR /&gt;
    style Header from Header /&lt;BR /&gt;
      borderwidth=2;&lt;BR /&gt;
    style RowHeader from RowHeader /&lt;BR /&gt;
      borderwidth=2;&lt;BR /&gt;
    style Data from Data /&lt;BR /&gt;
      borderwidth=2;&lt;BR /&gt;
  end;&lt;BR /&gt;
run; quit;&lt;BR /&gt;
&lt;BR /&gt;
%let _ODSDEST=tagsets.ExcelXP;&lt;BR /&gt;
%let _ODSSTYLE=XLStatistical;&lt;BR /&gt;
 &lt;BR /&gt;
filename _webout "c:\temp\if.xml";&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
&lt;BR /&gt;
  *;&lt;BR /&gt;
  *  PROC REPORT is not setting column widths.  So we must force them with&lt;BR /&gt;
  *  default_column_width.  &lt;BR /&gt;
  *;&lt;BR /&gt;
ods &amp;amp;_ODSDEST file=_webout style=&amp;amp;_ODSSTYLE options(default_column_width="7.5, 7.5, 5, 7.5, 7.5" );&lt;BR /&gt;
 &lt;BR /&gt;
TITLE1 font='Arial' height=4 "Title1";&lt;BR /&gt;
TITLE2 font='Arial' height=4 "Title2";&lt;BR /&gt;
TITLE3 font='Arial' height=4 "Title3";&lt;BR /&gt;
  &lt;BR /&gt;
  proc report data=sashelp.class nowindows split='*';&lt;BR /&gt;
    column  name sex age height weight;&lt;BR /&gt;
    define  name   / display   'Student*Name'     left    style={just=l};&lt;BR /&gt;
    define  sex    / display   '*Gender'          right   style={just=r};&lt;BR /&gt;
    define  age    / display   '*Age'             center  style={just=c};&lt;BR /&gt;
    define  height / display   'Height*(inches)'  center  style={just=c};&lt;BR /&gt;
    define  weight / display   'Weight*(pounds)'  center  style={just=c};&lt;BR /&gt;
  run; quit;&lt;BR /&gt;
ods &amp;amp;_ODSDEST close;&lt;BR /&gt;
&lt;BR /&gt;
Can you tell me how to make them visible in Excel?&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot!</description>
      <pubDate>Fri, 28 Dec 2007 19:40:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-ExcelXP-question/m-p/6079#M2434</guid>
      <dc:creator>Michela_sas</dc:creator>
      <dc:date>2007-12-28T19:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: tagsets.ExcelXP question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-ExcelXP-question/m-p/6080#M2435</link>
      <description>I just found myself the answer...:-)&lt;BR /&gt;
&lt;BR /&gt;
I should use Option (embedded_titles='yes'), so the ods statement would be:&lt;BR /&gt;
&lt;BR /&gt;
ods &amp;amp;_ODSDEST file=_webout style=&amp;amp;_ODSSTYLE options(default_column_width="7.5, 7.5, 5, 7.5, 7.5"  embedded_titles='yes' );&lt;BR /&gt;
&lt;BR /&gt;
Regards to all the forum members!</description>
      <pubDate>Fri, 28 Dec 2007 19:58:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagsets-ExcelXP-question/m-p/6080#M2435</guid>
      <dc:creator>Michela_sas</dc:creator>
      <dc:date>2007-12-28T19:58:08Z</dc:date>
    </item>
  </channel>
</rss>

