<?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: ODS excel style (data) wrap text in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574962#M162527</link>
    <description>&lt;P&gt;May be FLOW='Tables' as an option in ODS Excel will help!! The link is here (&lt;A href="http://support.sas.com/kb/59/351.html" target="_blank"&gt;http://support.sas.com/kb/59/351.html&lt;/A&gt;)&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2019 14:19:35 GMT</pubDate>
    <dc:creator>koyelghosh</dc:creator>
    <dc:date>2019-07-19T14:19:35Z</dc:date>
    <item>
      <title>ODS excel style (data) wrap text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574952#M162525</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Friday everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use ODS excel to generate a report, but the text in some of the columns got automatically wrapped like the example below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Worsening of Congestive&lt;BR /&gt;heart failure&lt;/TD&gt;&lt;TD&gt;Cardiac failure&lt;BR /&gt;congestive&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to control not let the ODS wrap the text, or I can control the width of the columns through style (data)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 14:06:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574952#M162525</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2019-07-19T14:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel style (data) wrap text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574962#M162527</link>
      <description>&lt;P&gt;May be FLOW='Tables' as an option in ODS Excel will help!! The link is here (&lt;A href="http://support.sas.com/kb/59/351.html" target="_blank"&gt;http://support.sas.com/kb/59/351.html&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 14:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574962#M162527</guid>
      <dc:creator>koyelghosh</dc:creator>
      <dc:date>2019-07-19T14:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel style (data) wrap text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574974#M162529</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS Excel FILE="NameAndPathOfTheFile.xlsx" OPTIONS(FLOW='Tables');
   /* PROC or DATA step here */
ODS Excel Close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please let me know, how was the output. I don't have Microsoft Excel to confirm whether it worked or not.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 14:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574974#M162529</guid>
      <dc:creator>koyelghosh</dc:creator>
      <dc:date>2019-07-19T14:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel style (data) wrap text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574977#M162532</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212247"&gt;@koyelghosh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, the&amp;nbsp;&lt;CODE class="  language-sas"&gt;FLOW&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'Tables' not working for me probably because of the SAS version (I am using SAS 9.4), but I used the "style width = ", and it worked perfect!&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token string"&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212247"&gt;@koyelghosh&lt;/a&gt;&amp;nbsp;again and BIG thanks to the entire SAS programming community for the tremendous helps/supports I have been getting throughtout the years!&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token string"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 14:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/574977#M162532</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2019-07-19T14:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel style (data) wrap text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/685440#M207878</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; Can you elaborate how to use "style with" to unwrapped text?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 14:14:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/685440#M207878</guid>
      <dc:creator>ccabalbag</dc:creator>
      <dc:date>2020-09-21T14:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel style (data) wrap text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/685502#M207909</link>
      <description>&lt;P&gt;first, you need to combine the data using&amp;nbsp;'^n' as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSA = catx('^n', country, sex, age);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then, using the ods option to define the escapechar&lt;/P&gt;&lt;P&gt;options&amp;nbsp;ods escapechar='^';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;last, you will have&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Country/Sex/Age&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Canada&lt;BR /&gt;Male&lt;BR /&gt;89&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;I hope this works for you&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 18:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/685502#M207909</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2020-09-21T18:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel style (data) wrap text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/767779#M243451</link>
      <description>flow='tables' worked well, thank you!</description>
      <pubDate>Tue, 14 Sep 2021 17:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-excel-style-data-wrap-text/m-p/767779#M243451</guid>
      <dc:creator>dknochen</dc:creator>
      <dc:date>2021-09-14T17:27:26Z</dc:date>
    </item>
  </channel>
</rss>

