<?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: proc print ods excel width auto in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-print-ods-excel-width-auto/m-p/566966#M22868</link>
    <description>ODS EXCEL has a column width option you can use to set the width of the columns. Have you tried that option?</description>
    <pubDate>Tue, 18 Jun 2019 16:49:17 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-06-18T16:49:17Z</dc:date>
    <item>
      <title>proc print ods excel width auto</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-print-ods-excel-width-auto/m-p/566956#M22867</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use proc print&amp;nbsp;to display the data of a dataset&amp;nbsp;into an excel file.&lt;/P&gt;&lt;P&gt;my problem is that the first column is too width in excel&lt;/P&gt;&lt;P&gt;thanks in advance for your help&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nasser&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 16:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-print-ods-excel-width-auto/m-p/566956#M22867</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2019-06-18T16:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc print ods excel width auto</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-print-ods-excel-width-auto/m-p/566966#M22868</link>
      <description>ODS EXCEL has a column width option you can use to set the width of the columns. Have you tried that option?</description>
      <pubDate>Tue, 18 Jun 2019 16:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-print-ods-excel-width-auto/m-p/566966#M22868</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-18T16:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: proc print ods excel width auto</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-print-ods-excel-width-auto/m-p/567099#M22871</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; In addition to the option that Reeza mentioned, if it is ONLY the first column and you're using PROC PRINT, then this will work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='c:\temp\diffwidth.xlsx';

proc print data=sashelp.class noobs;
  var sex / 
    style(data)={width=.25in just=c color=navy font_weight=bold};
  var age /
    style(data)={width=.25in just=c color=green font_weight=bold};
  var name height weight;
run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As an example of using style overrides.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 00:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-print-ods-excel-width-auto/m-p/567099#M22871</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-06-19T00:17:41Z</dc:date>
    </item>
  </channel>
</rss>

