<?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: SAS 9.3 Excel Export with footer in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290710#M60181</link>
    <description>&lt;P&gt;You can put footnotes in, using footnote statement, however they will only appear in print preview in Excel - that is Excel functionality not SAS! &amp;nbsp;If you want it in the grid - which is not Excel method - then add another row or two to your dataset, with the footnote you want, e.g.&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; col1=" ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp; col2="A footnote";&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Col2 being the first variable in your dataset - assumed its called this, and that it is character).&lt;/P&gt;
&lt;P&gt;It will then get printed per the data. &amp;nbsp;Excel itself doesn't have titles/footnotes in the same way as RTF or PDF.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2016 13:55:01 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-08-10T13:55:01Z</dc:date>
    <item>
      <title>SAS 9.3 Excel Export with footer</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290707#M60179</link>
      <description>&lt;P&gt;I am using base SAS 9.3 and have a dataset that I need to export to excel (xlsx extension because rows are &amp;gt; 65k).&amp;nbsp; I want to include a footer on the exel output.&amp;nbsp; Please advise how to add a footer to a xlsx file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 13:28:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290707#M60179</guid>
      <dc:creator>sthomasw44</dc:creator>
      <dc:date>2016-08-10T13:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 Excel Export with footer</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290708#M60180</link>
      <description>&lt;P&gt;I don't believe you would be able to add footnote with proc export.&lt;/P&gt;&lt;P&gt;I recommend using ODS with footnote.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 13:48:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290708#M60180</guid>
      <dc:creator>PBsas</dc:creator>
      <dc:date>2016-08-10T13:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 Excel Export with footer</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290710#M60181</link>
      <description>&lt;P&gt;You can put footnotes in, using footnote statement, however they will only appear in print preview in Excel - that is Excel functionality not SAS! &amp;nbsp;If you want it in the grid - which is not Excel method - then add another row or two to your dataset, with the footnote you want, e.g.&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; col1=" ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp; col2="A footnote";&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Col2 being the first variable in your dataset - assumed its called this, and that it is character).&lt;/P&gt;
&lt;P&gt;It will then get printed per the data. &amp;nbsp;Excel itself doesn't have titles/footnotes in the same way as RTF or PDF.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 13:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290710#M60181</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-10T13:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 Excel Export with footer</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290720#M60186</link>
      <description>&lt;P&gt;I am pretty new to SAS ods so could you walk me through it so I can add footer to my final xlsx output?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290720#M60186</guid>
      <dc:creator>sthomasw44</dc:creator>
      <dc:date>2016-08-10T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 Excel Export with footer</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290800#M60218</link>
      <description>&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;Since you are using 9.3 version of the SAS, you won't be able to use ODS excel to create .xlsx file. You can create .xls file using ODS tagsets.excelXP with a footnote.&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods tagsets.excelxp path = "path_here"  file = "file_name.xls" style = XLsansPrinter 


	options(embedded_footnotes = "yes");
footnote "Your footnote here";

proc print data=dataset_name noobs;
run;

ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-Excel-Export-with-footer/m-p/290800#M60218</guid>
      <dc:creator>PBsas</dc:creator>
      <dc:date>2016-08-10T19:32:46Z</dc:date>
    </item>
  </channel>
</rss>

