<?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: Excell Headers &amp; Footers in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5209#M441</link>
    <description>Hi:&lt;BR /&gt;
  Also, if you use the ExcelXP tagset:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.excelxp file="c:\temp\demo.xls";&lt;BR /&gt;
  &lt;BR /&gt;
title1 "Title for my SpreadsheetML XML file that will open with Excel";&lt;BR /&gt;
  &lt;BR /&gt;
proc print data=sashelp.class noobs;&lt;BR /&gt;
run;&lt;BR /&gt;
  &lt;BR /&gt;
footnote "And this is a footnote ";&lt;BR /&gt;
  &lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
You will find that the title goes automatically into the Header area of the workbook (you can find it by looking in Page Setup).&lt;BR /&gt;
 &lt;BR /&gt;
If you get an updated copy of TAGSETS.EXCELXP (and create an updated copy of TAGSETS.EXCELXP in the SASUSER.TEMPLAT template store) , then the SAS footnote will automatically go into the footer area of the workbook. &lt;BR /&gt;
&lt;BR /&gt;
To find out more about updating TAGSETS.EXCELXP, refer to the information on this site:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
If you do not want anything as fancy as a SpreadsheetML file, then you might try a simple CSVALL file:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods csvall file="c:\temp\demo_csv.csv";&lt;BR /&gt;
  &lt;BR /&gt;
title1 "Title for my CSV file that will open with Excel";&lt;BR /&gt;
  &lt;BR /&gt;
proc print data=sashelp.class noobs;&lt;BR /&gt;
run;&lt;BR /&gt;
  &lt;BR /&gt;
footnote "And this is a footnote ";&lt;BR /&gt;
  &lt;BR /&gt;
ods csvall close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
In this case, your title and footnote will go into the body of the CSV file (and therefore into the body of the Excel file).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Thu, 25 Oct 2007 19:37:35 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2007-10-25T19:37:35Z</dc:date>
    <item>
      <title>Excell Headers &amp; Footers</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5207#M439</link>
      <description>When exporting a dataset to excell using proc export, how can I add headers and/or footers to that excell sheet using sas code ?</description>
      <pubDate>Thu, 25 Oct 2007 10:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5207#M439</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-25T10:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Excell Headers &amp; Footers</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5208#M440</link>
      <description>Hi Rix,&lt;BR /&gt;
&lt;BR /&gt;
When I want to export a table to an excel file I'm used to do this:&lt;BR /&gt;
&lt;BR /&gt;
ods html file="c:\temp\demo.xls";&lt;BR /&gt;
&lt;BR /&gt;
title1 "This is a title for my excel sheet";&lt;BR /&gt;
&lt;BR /&gt;
proc print data=sashelp.class noobs;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
footnote "And this is a footnote :)";&lt;BR /&gt;
&lt;BR /&gt;
ods html close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
In this way I can use the title and footnote command as always.</description>
      <pubDate>Thu, 25 Oct 2007 15:07:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5208#M440</guid>
      <dc:creator>JuanVte</dc:creator>
      <dc:date>2007-10-25T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Excell Headers &amp; Footers</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5209#M441</link>
      <description>Hi:&lt;BR /&gt;
  Also, if you use the ExcelXP tagset:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.excelxp file="c:\temp\demo.xls";&lt;BR /&gt;
  &lt;BR /&gt;
title1 "Title for my SpreadsheetML XML file that will open with Excel";&lt;BR /&gt;
  &lt;BR /&gt;
proc print data=sashelp.class noobs;&lt;BR /&gt;
run;&lt;BR /&gt;
  &lt;BR /&gt;
footnote "And this is a footnote ";&lt;BR /&gt;
  &lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
You will find that the title goes automatically into the Header area of the workbook (you can find it by looking in Page Setup).&lt;BR /&gt;
 &lt;BR /&gt;
If you get an updated copy of TAGSETS.EXCELXP (and create an updated copy of TAGSETS.EXCELXP in the SASUSER.TEMPLAT template store) , then the SAS footnote will automatically go into the footer area of the workbook. &lt;BR /&gt;
&lt;BR /&gt;
To find out more about updating TAGSETS.EXCELXP, refer to the information on this site:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
If you do not want anything as fancy as a SpreadsheetML file, then you might try a simple CSVALL file:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods csvall file="c:\temp\demo_csv.csv";&lt;BR /&gt;
  &lt;BR /&gt;
title1 "Title for my CSV file that will open with Excel";&lt;BR /&gt;
  &lt;BR /&gt;
proc print data=sashelp.class noobs;&lt;BR /&gt;
run;&lt;BR /&gt;
  &lt;BR /&gt;
footnote "And this is a footnote ";&lt;BR /&gt;
  &lt;BR /&gt;
ods csvall close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
In this case, your title and footnote will go into the body of the CSV file (and therefore into the body of the Excel file).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 25 Oct 2007 19:37:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5209#M441</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-10-25T19:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Excell Headers &amp; Footers</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5210#M442</link>
      <description>Hi Cynthia, this works great for SAS 9, I actually wanted to do this for SAS 8.2.  I have SAS 9 available now so problem solved.&lt;BR /&gt;
&lt;BR /&gt;
Many Thanks&lt;BR /&gt;
 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 26 Oct 2007 08:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Excell-Headers-Footers/m-p/5210#M442</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-26T08:32:45Z</dc:date>
    </item>
  </channel>
</rss>

