<?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: adjust column widths in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/adjust-column-widths/m-p/205585#M13649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seemed to do the trick.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 15:12:57 GMT</pubDate>
    <dc:creator>JamBar</dc:creator>
    <dc:date>2015-04-28T15:12:57Z</dc:date>
    <item>
      <title>adjust column widths</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/adjust-column-widths/m-p/205583#M13647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having trouble getting the column widths to adjust.&amp;nbsp; I just want them to extend to the largest column width.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc Export;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file='c:\temp\table1.xml' style=sasweb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(embedded_titles='yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Autofit_width='yes');&lt;/P&gt;&lt;P&gt;proc print data=work.table1 nooks;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; title "Title";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:03:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/adjust-column-widths/m-p/205583#M13647</guid>
      <dc:creator>JamBar</dc:creator>
      <dc:date>2015-04-28T15:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: adjust column widths</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/adjust-column-widths/m-p/205584#M13648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TBH I don't like using guessing methods so I avoid the autofit, and set widths in my code.&amp;nbsp; This avoids dissapointment in the output when data changes.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ods tagsets.excelxp file='c:\temp\table1.xml' style=sasweb &lt;SPAN style="line-height: 1.5em;"&gt;options(embedded_titles='yes');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc report data=work.table1 nowd&lt;SPAN style="line-height: 1.5em;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;title "Title";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; columns a b c;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define a / style(column)=[cellwidth=3cm];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ods _all_ close;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;To add, you don't need to supply exact measurements, you can use percentages, but I find if your data is one character in first run, then you get a cell with 200 it really messes your outputs up, so I like fixed output structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/adjust-column-widths/m-p/205584#M13648</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-28T15:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: adjust column widths</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/adjust-column-widths/m-p/205585#M13649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seemed to do the trick.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/adjust-column-widths/m-p/205585#M13649</guid>
      <dc:creator>JamBar</dc:creator>
      <dc:date>2015-04-28T15:12:57Z</dc:date>
    </item>
  </channel>
</rss>

