<?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: Footnote text alignment in ODS Excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Footnote-text-alignment-in-ODS-Excel/m-p/862545#M340714</link>
    <description>&lt;P&gt;See if using the JUSTIFY&amp;nbsp; option does what you want:&lt;/P&gt;
&lt;PRE&gt;footnote1 justify=left "Footnote text";&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/413154"&gt;@irvinery&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi SAS Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pretty simple question here, so I'm hoping the solution is pretty straight forward. I am outputting a table (proc report) to Excel via ODS, and I want to align the footnotes below the table to the left rather than centered. Below is my current code, followed by a screenshot of the current output and then a screenshot of the desired output. The reformatting for the desired output was done in Excel, and the goal is to have it output that way without any manual adjustments within Excel. Note that in the output screenshots, I have hidden the actual rows of the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Current Code&lt;/P&gt;
&lt;PRE&gt;ods excel file="&amp;amp;output./test.xlsx"
options(sheet_interval="none" sheet_name="test"
			embedded_titles="yes"
			embedded_footnotes="yes");
ods noproctitle; 
ods escapechar="~";

title "Title";
footnote1 "Footnote1"; 
footnote2 "Footnote2" ;
footnote3 "Footnote3";
proc report data=data style=journal;
column acute_label count percent;
define acute_label / "Prior Treatment ATC Group" format=$32.;
define count / "Count";
define percent / "Percent" format=8.2;
run;
ods excel  close;&lt;/PRE&gt;
&lt;P&gt;2. Current Output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="irvinery_0-1678124484655.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81117iD8C9E8BFD651BFAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="irvinery_0-1678124484655.png" alt="irvinery_0-1678124484655.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Desired Output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="irvinery_1-1678124531724.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81118i1769151606A3F660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="irvinery_1-1678124531724.png" alt="irvinery_1-1678124531724.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;
&lt;P&gt;RJ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 17:47:39 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-03-06T17:47:39Z</dc:date>
    <item>
      <title>Footnote text alignment in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Footnote-text-alignment-in-ODS-Excel/m-p/862544#M340713</link>
      <description>&lt;P&gt;Hi SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pretty simple question here, so I'm hoping the solution is pretty straight forward. I am outputting a table (proc report) to Excel via ODS, and I want to align the footnotes below the table to the left rather than centered. Below is my current code, followed by a screenshot of the current output and then a screenshot of the desired output. The reformatting for the desired output was done in Excel, and the goal is to have it output that way without any manual adjustments within Excel. Note that in the output screenshots, I have hidden the actual rows of the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Current Code&lt;/P&gt;&lt;PRE&gt;ods excel file="&amp;amp;output./test.xlsx"
options(sheet_interval="none" sheet_name="test"
			embedded_titles="yes"
			embedded_footnotes="yes");
ods noproctitle; 
ods escapechar="~";

title "Title";
footnote1 "Footnote1"; 
footnote2 "Footnote2" ;
footnote3 "Footnote3";
proc report data=data style=journal;
column acute_label count percent;
define acute_label / "Prior Treatment ATC Group" format=$32.;
define count / "Count";
define percent / "Percent" format=8.2;
run;
ods excel  close;&lt;/PRE&gt;&lt;P&gt;2. Current Output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="irvinery_0-1678124484655.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81117iD8C9E8BFD651BFAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="irvinery_0-1678124484655.png" alt="irvinery_0-1678124484655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Desired Output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="irvinery_1-1678124531724.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81118i1769151606A3F660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="irvinery_1-1678124531724.png" alt="irvinery_1-1678124531724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 17:43:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Footnote-text-alignment-in-ODS-Excel/m-p/862544#M340713</guid>
      <dc:creator>irvinery</dc:creator>
      <dc:date>2023-03-06T17:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Footnote text alignment in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Footnote-text-alignment-in-ODS-Excel/m-p/862545#M340714</link>
      <description>&lt;P&gt;See if using the JUSTIFY&amp;nbsp; option does what you want:&lt;/P&gt;
&lt;PRE&gt;footnote1 justify=left "Footnote text";&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/413154"&gt;@irvinery&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi SAS Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pretty simple question here, so I'm hoping the solution is pretty straight forward. I am outputting a table (proc report) to Excel via ODS, and I want to align the footnotes below the table to the left rather than centered. Below is my current code, followed by a screenshot of the current output and then a screenshot of the desired output. The reformatting for the desired output was done in Excel, and the goal is to have it output that way without any manual adjustments within Excel. Note that in the output screenshots, I have hidden the actual rows of the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Current Code&lt;/P&gt;
&lt;PRE&gt;ods excel file="&amp;amp;output./test.xlsx"
options(sheet_interval="none" sheet_name="test"
			embedded_titles="yes"
			embedded_footnotes="yes");
ods noproctitle; 
ods escapechar="~";

title "Title";
footnote1 "Footnote1"; 
footnote2 "Footnote2" ;
footnote3 "Footnote3";
proc report data=data style=journal;
column acute_label count percent;
define acute_label / "Prior Treatment ATC Group" format=$32.;
define count / "Count";
define percent / "Percent" format=8.2;
run;
ods excel  close;&lt;/PRE&gt;
&lt;P&gt;2. Current Output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="irvinery_0-1678124484655.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81117iD8C9E8BFD651BFAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="irvinery_0-1678124484655.png" alt="irvinery_0-1678124484655.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Desired Output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="irvinery_1-1678124531724.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/81118i1769151606A3F660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="irvinery_1-1678124531724.png" alt="irvinery_1-1678124531724.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;
&lt;P&gt;RJ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 17:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Footnote-text-alignment-in-ODS-Excel/m-p/862545#M340714</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-03-06T17:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Footnote text alignment in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Footnote-text-alignment-in-ODS-Excel/m-p/862554#M340720</link>
      <description>Yes, problem solved! Thanks so much, just as straightforward as I was hoping haha.</description>
      <pubDate>Mon, 06 Mar 2023 18:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Footnote-text-alignment-in-ODS-Excel/m-p/862554#M340720</guid>
      <dc:creator>irvinery</dc:creator>
      <dc:date>2023-03-06T18:45:40Z</dc:date>
    </item>
  </channel>
</rss>

