<?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 ODS Excel print_footer with multiple lines in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ODS-Excel-print-footer-with-multiple-lines/m-p/609794#M17971</link>
    <description>&lt;P&gt;I am running SAS 9.4 and have an ODS Excel question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a footer that I want to see on 2 separate lines in the center section of my&amp;nbsp;report footer.&amp;nbsp; In Excel I would use Shift+ Enter to achieve this carriage return.&amp;nbsp;&amp;nbsp; How do I code this in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the first line of the footer to be "This material is..." and I want the next line of the footer to be "Any unauthorized use...".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let footer_text =%str(&amp;amp;CThis material is confidential and proprietary. Any unauthorized use, reproduction or transfer of these materials is strictly prohibited.&amp;amp;R&amp;amp;7Page &amp;amp;P of &amp;amp;N);

ods listing close; 
ods excel file="C:\test.xlsx";

ods excel options(sheet_name="Test"
embedded_titles='yes'
embedded_footnotes='yes'
print_footer="&amp;amp;footer_text"
Orientation = 'landscape');

PROC print DATA=test;
run;
 

ods excel close;
ods listing;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 20:06:51 GMT</pubDate>
    <dc:creator>KTaylor74</dc:creator>
    <dc:date>2019-12-05T20:06:51Z</dc:date>
    <item>
      <title>ODS Excel print_footer with multiple lines</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ODS-Excel-print-footer-with-multiple-lines/m-p/609794#M17971</link>
      <description>&lt;P&gt;I am running SAS 9.4 and have an ODS Excel question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a footer that I want to see on 2 separate lines in the center section of my&amp;nbsp;report footer.&amp;nbsp; In Excel I would use Shift+ Enter to achieve this carriage return.&amp;nbsp;&amp;nbsp; How do I code this in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the first line of the footer to be "This material is..." and I want the next line of the footer to be "Any unauthorized use...".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let footer_text =%str(&amp;amp;CThis material is confidential and proprietary. Any unauthorized use, reproduction or transfer of these materials is strictly prohibited.&amp;amp;R&amp;amp;7Page &amp;amp;P of &amp;amp;N);

ods listing close; 
ods excel file="C:\test.xlsx";

ods excel options(sheet_name="Test"
embedded_titles='yes'
embedded_footnotes='yes'
print_footer="&amp;amp;footer_text"
Orientation = 'landscape');

PROC print DATA=test;
run;
 

ods excel close;
ods listing;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 20:06:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ODS-Excel-print-footer-with-multiple-lines/m-p/609794#M17971</guid>
      <dc:creator>KTaylor74</dc:creator>
      <dc:date>2019-12-05T20:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel print_footer with multiple lines</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ODS-Excel-print-footer-with-multiple-lines/m-p/609902#M18001</link>
      <description>I believe this post &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-get-multiple-footnote-lines-in-ODS-EXCEL-using-options/m-p/437685/highlight/true#M20406" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-get-multiple-footnote-lines-in-ODS-EXCEL-using-options/m-p/437685/highlight/true#M20406&lt;/A&gt; has the answer.</description>
      <pubDate>Fri, 06 Dec 2019 09:55:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ODS-Excel-print-footer-with-multiple-lines/m-p/609902#M18001</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2019-12-06T09:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel print_footer with multiple lines</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ODS-Excel-print-footer-with-multiple-lines/m-p/609989#M18014</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this for my footer and it worked great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let footer_text =%str(&amp;amp;amp;C&amp;amp;amp;&lt;STRONG&gt;7&lt;/STRONG&gt;This material is confidential and proprietary. &amp;amp;#&lt;STRONG&gt;10&lt;/STRONG&gt;;Any unauthorized use, reproduction or transfer of these materials is strictly prohibited);&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 15:33:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ODS-Excel-print-footer-with-multiple-lines/m-p/609989#M18014</guid>
      <dc:creator>KTaylor74</dc:creator>
      <dc:date>2019-12-06T15:33:09Z</dc:date>
    </item>
  </channel>
</rss>

