<?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: Column Width Formatting in Proc Export to Excel in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Column-Width-Formatting-in-Proc-Export-to-Excel/m-p/30658#M7291</link>
    <description>probably need to use something other than proc export, as the formatting of what arrives in excel, is controlled by excel.&lt;BR /&gt;
To control how excel formats a cell, (and there are a lot of controls ..  see &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html&lt;/A&gt; ) you need something like ODS TAGSETS.EXCELXP. There are links to lots of examples in &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup&lt;/A&gt; and a whole  ODS and reporting discussion forum to search for ( EXCElxp and column_WIDTH ) at &lt;A href="http://support.sas.com/forums/forum.jspa?forumID=6" target="_blank"&gt;http://support.sas.com/forums/forum.jspa?forumID=6&lt;/A&gt; .&lt;BR /&gt;
 &lt;BR /&gt;
good luck&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
    <pubDate>Wed, 02 Jun 2010 18:56:32 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2010-06-02T18:56:32Z</dc:date>
    <item>
      <title>Column Width Formatting in Proc Export to Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Column-Width-Formatting-in-Proc-Export-to-Excel/m-p/30657#M7290</link>
      <description>Would someone please help me?  I am using a PROC EXPORT to export a file to excel.  But, the column widths are are using the default excel width.  How do I either specify a column width or do an auto width?&lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT DATA= WORK.temp&lt;BR /&gt;
OUTFILE= "&amp;amp;output" &lt;BR /&gt;
DBMS=EXCEL REPLACE;&lt;BR /&gt;
SHEET="KEY";&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much for any help!&lt;BR /&gt;
-jen</description>
      <pubDate>Wed, 02 Jun 2010 18:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Column-Width-Formatting-in-Proc-Export-to-Excel/m-p/30657#M7290</guid>
      <dc:creator>jenwork</dc:creator>
      <dc:date>2010-06-02T18:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Column Width Formatting in Proc Export to Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Column-Width-Formatting-in-Proc-Export-to-Excel/m-p/30658#M7291</link>
      <description>probably need to use something other than proc export, as the formatting of what arrives in excel, is controlled by excel.&lt;BR /&gt;
To control how excel formats a cell, (and there are a lot of controls ..  see &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html&lt;/A&gt; ) you need something like ODS TAGSETS.EXCELXP. There are links to lots of examples in &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup&lt;/A&gt; and a whole  ODS and reporting discussion forum to search for ( EXCElxp and column_WIDTH ) at &lt;A href="http://support.sas.com/forums/forum.jspa?forumID=6" target="_blank"&gt;http://support.sas.com/forums/forum.jspa?forumID=6&lt;/A&gt; .&lt;BR /&gt;
 &lt;BR /&gt;
good luck&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
      <pubDate>Wed, 02 Jun 2010 18:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Column-Width-Formatting-in-Proc-Export-to-Excel/m-p/30658#M7291</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-06-02T18:56:32Z</dc:date>
    </item>
  </channel>
</rss>

