<?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 home sheet or table of contents in proc report ods excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899381#M355501</link>
    <description>&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Good Morning &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;I have an old Excel report that I need to reproduce under SAS for automation purposes. I used the class table in the example for demonstration, knowing that the class table does not represent my real data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;I'm trying to build a sort of table of contents (home sheet) like the example.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt; I click on Age 11 ==&amp;gt; Age 11 tab opens...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Is it possible to do something that is close to the example? with the possibility of formatting....&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snip_0-1697808218574.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88976iB926F381FA4E47BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="snip_0-1697808218574.png" alt="snip_0-1697808218574.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class ;by age; run;
ods excel file='C:\temp\class.xlsx'
options(embedded_titles='yes' FROZEN_ROWHEADERS='3' frozen_headers='yes' tab_color='red' start_at='A4'
embedded_footnotes='yes' sheet_name = "#byval1"  contents="yes");

PROC REPORT data=class; 
by age;
column   age sex name;
define age/group;
define sex /display;
define name /display;
run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 13:24:29 GMT</pubDate>
    <dc:creator>snip</dc:creator>
    <dc:date>2023-10-20T13:24:29Z</dc:date>
    <item>
      <title>home sheet or table of contents in proc report ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899381#M355501</link>
      <description>&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Good Morning &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;I have an old Excel report that I need to reproduce under SAS for automation purposes. I used the class table in the example for demonstration, knowing that the class table does not represent my real data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;I'm trying to build a sort of table of contents (home sheet) like the example.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt; I click on Age 11 ==&amp;gt; Age 11 tab opens...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Is it possible to do something that is close to the example? with the possibility of formatting....&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snip_0-1697808218574.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88976iB926F381FA4E47BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="snip_0-1697808218574.png" alt="snip_0-1697808218574.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class ;by age; run;
ods excel file='C:\temp\class.xlsx'
options(embedded_titles='yes' FROZEN_ROWHEADERS='3' frozen_headers='yes' tab_color='red' start_at='A4'
embedded_footnotes='yes' sheet_name = "#byval1"  contents="yes");

PROC REPORT data=class; 
by age;
column   age sex name;
define age/group;
define sex /display;
define name /display;
run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:24:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899381#M355501</guid>
      <dc:creator>snip</dc:creator>
      <dc:date>2023-10-20T13:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: home sheet or table of contents in proc report ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899410#M355508</link>
      <description>Hi: I do not think you can control the formatting using either INDEX="ON" or CONTENTS="YES". I am fairly sure there's not a good way to add big buttons, such as you show in your screen shot. However, you might want to check with Tech Support for the definitive answer.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 20 Oct 2023 15:56:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899410#M355508</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-10-20T15:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: home sheet or table of contents in proc report ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899737#M355593</link>
      <description>&lt;P&gt;ok thank you&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 09:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899737#M355593</guid>
      <dc:creator>snip</dc:creator>
      <dc:date>2023-10-24T09:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: home sheet or table of contents in proc report ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899741#M355595</link>
      <description>&lt;P&gt;PROC REPORT within ODS HTML and a BY statement can create a frameset with a navigation sub-page.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 10:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/home-sheet-or-table-of-contents-in-proc-report-ods-excel/m-p/899741#M355595</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-10-24T10:03:53Z</dc:date>
    </item>
  </channel>
</rss>

