<?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 excelXP  frozen_headers='yes' in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelXP-frozen-headers-yes/m-p/75912#M8603</link>
    <description>in  tagsets.excelXP  v1.94&lt;BR /&gt;
 &lt;BR /&gt;
seems like frozen_headers='yes'  ignores the setting of embedded_titles='yes', or am I missing something? &lt;BR /&gt;
 &lt;BR /&gt;
From "doc='help' : [pre]Frozen_Headers:   Default Value 'No'&lt;BR /&gt;
     Values: yes, no, true, false, number.&lt;BR /&gt;
     If 'Yes' The rows down to the bottom of the headers will be frozen when&lt;BR /&gt;
     the table data scrolls.  This includes any titles created with the&lt;BR /&gt;
     embedded titles option.  If a number is given, that is the row count&lt;BR /&gt;
     that will be frozen[/pre]&lt;BR /&gt;
&lt;BR /&gt;
So I expected I could lose my "title counter" macro that works out where the column headers will come.&lt;BR /&gt;
Unfortunately!&lt;BR /&gt;
Only the top row is frozen.&lt;BR /&gt;
Here is a brief demo:&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
title 'demo title1' ;&lt;BR /&gt;
title2 'frozen_headers=''yes'' ';&lt;BR /&gt;
ods tagsets.excelxp file='demo.xml.xls' options(sheet_name='frozen_demo' autofilter='all' embedded_titles='yes' Frozen_Headers='yes') ;&lt;BR /&gt;
proc print data= sashelp.class ;&lt;BR /&gt;
run ;&lt;BR /&gt;
proc sql noprint ;* obtaining the number of title lines ;[pre]  select max( number)&lt;BR /&gt;
    into :n_titles separated by ' '&lt;BR /&gt;
    from sashelp.vtitle&lt;BR /&gt;
   where type='T'&lt;BR /&gt;
        ;[/pre]  %let head_at =%eval( 2+&amp;amp;n_titles) ; *proc print column headers are 2 lines after last title ;&lt;BR /&gt;
quit ;&lt;BR /&gt;
title2 "frozen_headers='&amp;amp;head_at' ";&lt;BR /&gt;
ods tagsets.excelxp  options(sheet_name='frozen_demo2' autofilter='all' embedded_titles='yes' Frozen_Headers="&amp;amp;head_at") ;&lt;BR /&gt;
proc print data= sashelp.class ;&lt;BR /&gt;
run ;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
 &lt;BR /&gt;
what am I missing?&lt;BR /&gt;
PeterC</description>
    <pubDate>Thu, 15 Oct 2009 10:23:10 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2009-10-15T10:23:10Z</dc:date>
    <item>
      <title>excelXP  frozen_headers='yes'</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelXP-frozen-headers-yes/m-p/75912#M8603</link>
      <description>in  tagsets.excelXP  v1.94&lt;BR /&gt;
 &lt;BR /&gt;
seems like frozen_headers='yes'  ignores the setting of embedded_titles='yes', or am I missing something? &lt;BR /&gt;
 &lt;BR /&gt;
From "doc='help' : [pre]Frozen_Headers:   Default Value 'No'&lt;BR /&gt;
     Values: yes, no, true, false, number.&lt;BR /&gt;
     If 'Yes' The rows down to the bottom of the headers will be frozen when&lt;BR /&gt;
     the table data scrolls.  This includes any titles created with the&lt;BR /&gt;
     embedded titles option.  If a number is given, that is the row count&lt;BR /&gt;
     that will be frozen[/pre]&lt;BR /&gt;
&lt;BR /&gt;
So I expected I could lose my "title counter" macro that works out where the column headers will come.&lt;BR /&gt;
Unfortunately!&lt;BR /&gt;
Only the top row is frozen.&lt;BR /&gt;
Here is a brief demo:&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
title 'demo title1' ;&lt;BR /&gt;
title2 'frozen_headers=''yes'' ';&lt;BR /&gt;
ods tagsets.excelxp file='demo.xml.xls' options(sheet_name='frozen_demo' autofilter='all' embedded_titles='yes' Frozen_Headers='yes') ;&lt;BR /&gt;
proc print data= sashelp.class ;&lt;BR /&gt;
run ;&lt;BR /&gt;
proc sql noprint ;* obtaining the number of title lines ;[pre]  select max( number)&lt;BR /&gt;
    into :n_titles separated by ' '&lt;BR /&gt;
    from sashelp.vtitle&lt;BR /&gt;
   where type='T'&lt;BR /&gt;
        ;[/pre]  %let head_at =%eval( 2+&amp;amp;n_titles) ; *proc print column headers are 2 lines after last title ;&lt;BR /&gt;
quit ;&lt;BR /&gt;
title2 "frozen_headers='&amp;amp;head_at' ";&lt;BR /&gt;
ods tagsets.excelxp  options(sheet_name='frozen_demo2' autofilter='all' embedded_titles='yes' Frozen_Headers="&amp;amp;head_at") ;&lt;BR /&gt;
proc print data= sashelp.class ;&lt;BR /&gt;
run ;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
 &lt;BR /&gt;
what am I missing?&lt;BR /&gt;
PeterC</description>
      <pubDate>Thu, 15 Oct 2009 10:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelXP-frozen-headers-yes/m-p/75912#M8603</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-10-15T10:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: excelXP  frozen_headers='yes'</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelXP-frozen-headers-yes/m-p/75913#M8604</link>
      <description>This does appear to be broken.&lt;BR /&gt;
&lt;BR /&gt;
Here are the changes to make it work.  I'll have a new version out as soon as I can.&lt;BR /&gt;
&lt;BR /&gt;
The T should be capitalized.&lt;BR /&gt;
&lt;BR /&gt;
    define event add_title_rowcounts;&lt;BR /&gt;
        /*-------------------------------------------eric-*/&lt;BR /&gt;
        /*-- Sure would be nice to be able to do this.  --*/&lt;BR /&gt;
        /*-- eval $nskip ^^$skip_factor['title'];       --*/&lt;BR /&gt;
        /*----------------------------------------19Aug05-*/&lt;BR /&gt;
        do /if $skip_factor['Title'];&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Titles should not be unset at the end of this event...&lt;BR /&gt;
&lt;BR /&gt;
 define event embedded_title;&lt;BR /&gt;
        break /if ^$embedded_titles;&lt;BR /&gt;
        break /if ^$titles;&lt;BR /&gt;
        &lt;BR /&gt;
        ....&lt;BR /&gt;
&lt;BR /&gt;
        /* unset $titles */</description>
      <pubDate>Thu, 15 Oct 2009 16:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelXP-frozen-headers-yes/m-p/75913#M8604</guid>
      <dc:creator>Eric_SAS</dc:creator>
      <dc:date>2009-10-15T16:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: excelXP  frozen_headers='yes'</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelXP-frozen-headers-yes/m-p/75914#M8605</link>
      <description>many thanks&lt;BR /&gt;
Running the excelbase template code with these changes resulted in the correct frozen headers, but ...&lt;BR /&gt;
... perhaps I shouldn't expect to edit the code in the template editor.&lt;BR /&gt;
suddenly the style became different/minimalist&lt;BR /&gt;
and it looked like some continued (overflowed) lines joined up a little differently than in the original.&lt;BR /&gt;
So, I'll look forward to the update, when you can fix it!&lt;BR /&gt;
 &lt;BR /&gt;
Many thanks Eric&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
      <pubDate>Fri, 16 Oct 2009 22:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/excelXP-frozen-headers-yes/m-p/75914#M8605</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-10-16T22:30:49Z</dc:date>
    </item>
  </channel>
</rss>

