<?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 Export to Excel - how to keep defalut excel column width in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Export-to-Excel-how-to-keep-defalut-excel-column-width/m-p/566946#M159393</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing export sas data to excel through proc export.&lt;/P&gt;&lt;P&gt;My code looks like:&lt;/P&gt;&lt;PRE&gt;proc export data=table1
outfile=&amp;amp;path.
label dbms xlsx replace;
putnames=yes;
sheet='Sheet1'
%run&lt;/PRE&gt;&lt;P&gt;But when I am getting data to excel all columns are randomly autofitted.&lt;/P&gt;&lt;P&gt;Does anybody know, can I add something in the code to get excel column width being having default value(64)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THX!&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 16:00:32 GMT</pubDate>
    <dc:creator>Ivan555</dc:creator>
    <dc:date>2019-06-18T16:00:32Z</dc:date>
    <item>
      <title>Export to Excel - how to keep defalut excel column width</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-to-Excel-how-to-keep-defalut-excel-column-width/m-p/566946#M159393</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing export sas data to excel through proc export.&lt;/P&gt;&lt;P&gt;My code looks like:&lt;/P&gt;&lt;PRE&gt;proc export data=table1
outfile=&amp;amp;path.
label dbms xlsx replace;
putnames=yes;
sheet='Sheet1'
%run&lt;/PRE&gt;&lt;P&gt;But when I am getting data to excel all columns are randomly autofitted.&lt;/P&gt;&lt;P&gt;Does anybody know, can I add something in the code to get excel column width being having default value(64)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THX!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 16:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-to-Excel-how-to-keep-defalut-excel-column-width/m-p/566946#M159393</guid>
      <dc:creator>Ivan555</dc:creator>
      <dc:date>2019-06-18T16:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - how to keep defalut excel column width</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-to-Excel-how-to-keep-defalut-excel-column-width/m-p/566953#M159399</link>
      <description>I don't believe there's a control for that in PROC EXPORT, but you could switch to ODS EXCEL and set the column width there manually. But it's slower and will apply formats.</description>
      <pubDate>Tue, 18 Jun 2019 16:21:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-to-Excel-how-to-keep-defalut-excel-column-width/m-p/566953#M159399</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-18T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - how to keep defalut excel column width</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Export-to-Excel-how-to-keep-defalut-excel-column-width/m-p/566964#M159404</link>
      <description>&lt;P&gt;Understood. Perhaps Ods Excel is the only solution. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 16:48:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Export-to-Excel-how-to-keep-defalut-excel-column-width/m-p/566964#M159404</guid>
      <dc:creator>Ivan555</dc:creator>
      <dc:date>2019-06-18T16:48:11Z</dc:date>
    </item>
  </channel>
</rss>

