<?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: Formatting Column titles ODS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Formatting-Column-titles-ODS/m-p/343413#M18178</link>
    <description>&lt;P&gt;What is your ODS destination, PDF, RTF, PPTX, Excel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS. Please format your posts to make them legible.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 17:05:56 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-03-22T17:05:56Z</dc:date>
    <item>
      <title>Formatting Column titles ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Formatting-Column-titles-ODS/m-p/343389#M18176</link>
      <description>&lt;TABLE width="452"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="106"&gt;&lt;STRONG&gt;LOAN_NUM&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="106"&gt;&lt;STRONG&gt;BORROWER_LAST_NAME&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="120"&gt;&lt;STRONG&gt;APP_DATE&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="120"&gt;
&lt;P&gt;&lt;STRONG&gt;CLOSED_DATE&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC REPORT DATA= al_loans headskip split='*' wrap nowd
style(report)=[background=black cellspacing=10 just=center font_size=9pt font_face="Calibri" bordercolor=black borderwidth=1]
style(column)=[background=white font_size=10pt bordercolor=black borderwidth=1]
&amp;nbsp;
;
COLUMNS _ALL_;
define LOAN_NUM / Display style(column)={cellwidth=80pt just=right};
define BORROWER_LAST_NAME / Display style(column)={cellwidth=80pt just=right};
define app_date / Display style(column)={cellwidth=90pt just=right};
define closed_date / Display style(column)={cellwidth=90pt just=right};&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;The column titles are displaying with the titles at the bottom of the cell.&amp;nbsp; Is there a way to get the titles to appear at the top of the cell and automatically(dynamically) increase the width of the cell so the columns will fit without some of the title skipping to the next line?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Formatting-Column-titles-ODS/m-p/343389#M18176</guid>
      <dc:creator>Q1983</dc:creator>
      <dc:date>2017-03-22T17:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Column titles ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Formatting-Column-titles-ODS/m-p/343413#M18178</link>
      <description>&lt;P&gt;What is your ODS destination, PDF, RTF, PPTX, Excel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS. Please format your posts to make them legible.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Formatting-Column-titles-ODS/m-p/343413#M18178</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-22T17:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Column titles ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Formatting-Column-titles-ODS/m-p/343542#M18183</link>
      <description>Hi:&lt;BR /&gt;  In addition, cell widths of 80 pt and 90 pt might not be the best unit to use. If your destinations is HTML, RTF, or Excel, you will be forcing point to internal measurement conversion. For example, in ODS RTF, those cell widths will need to be converted to TWIPS.&lt;BR /&gt;&lt;BR /&gt;But, I agree with Reeza -- we need to see ALL your code, not just part of your code, including ODS destinations and the RUN; statement, for example. Oh, and data would be nice or replicate your issue using SASHELP.CLASS.&lt;BR /&gt;&lt;BR /&gt;  And I don't understand what you mean when you say "The column titles are displaying with the titles at the bottom of the cell." If you "over control" the cell width, ODS has no choice but to wrap the cell contents whether the cell is a data cell or a header cell.&lt;BR /&gt;&lt;BR /&gt;  Also options like WRAP and HEADSKIP are ignored by ODS and only respected by the LISTING/Output window; while options like your STYLE overrides are ONLY respected by ODS destinations that support style -- so it seems like you want your code to do double duty for both LISTING and ODS, but you don't provide enough information to even run a test.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 23 Mar 2017 00:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Formatting-Column-titles-ODS/m-p/343542#M18183</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-03-23T00:26:16Z</dc:date>
    </item>
  </channel>
</rss>

