<?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: Lines Wrapping in ODS Excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529734#M144787</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257295"&gt;@AshWynn87&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I've already cleaned the data. There's no distinct reason it should be wrapping.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can you provide some example data that duplicates this behavior in the form of a data step? This is very likely somewhat data dependent and without data we are kind of flying blind.&lt;/P&gt;
&lt;P&gt;Replace any sensitive values with characters strings of the same length or random numbers of a similar range of digits.&lt;/P&gt;
&lt;P&gt;Test the example data to show that the behavior is similar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely we only need 5 or 10&amp;nbsp; rows of data as examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need help creating data step of your data Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 16:25:18 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-01-24T16:25:18Z</dc:date>
    <item>
      <title>Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529583#M144717</link>
      <description>&lt;P&gt;Hello there.&lt;/P&gt;&lt;P&gt;I'm attempting to export an excel file with 3 sheets. There is a dataset that applies to each sheet as you can see below. The problem is that I'm getting word wrapping in the data. It doesn't happen in all cells, but it does in most. I've tried flow='data' in the options but SAS doesn't recognize it. How can I get this random word wrapping to stop?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26525i9487A9F4CAA7F17D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 23:39:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529583#M144717</guid>
      <dc:creator>AshWynn87</dc:creator>
      <dc:date>2019-01-23T23:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529584#M144718</link>
      <description>&lt;P&gt;Did you try removing the absolute_column_width or using NONE instead of setting to 9.&lt;/P&gt;
&lt;P&gt;When you try to put more text than might fit I suspect that word wrap gets turned on.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 23:55:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529584#M144718</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-23T23:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529599#M144725</link>
      <description>&lt;P&gt;Does your data contain carriage returns? Where does it come from? Do you need to clean it?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 02:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529599#M144725</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-24T02:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529683#M144763</link>
      <description>&lt;P&gt;I've already cleaned the data. There's no distinct reason it should be wrapping.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 14:08:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529683#M144763</guid>
      <dc:creator>AshWynn87</dc:creator>
      <dc:date>2019-01-24T14:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529685#M144764</link>
      <description>&lt;P&gt;I did try that to no avail.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 14:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529685#M144764</guid>
      <dc:creator>AshWynn87</dc:creator>
      <dc:date>2019-01-24T14:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529734#M144787</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257295"&gt;@AshWynn87&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I've already cleaned the data. There's no distinct reason it should be wrapping.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can you provide some example data that duplicates this behavior in the form of a data step? This is very likely somewhat data dependent and without data we are kind of flying blind.&lt;/P&gt;
&lt;P&gt;Replace any sensitive values with characters strings of the same length or random numbers of a similar range of digits.&lt;/P&gt;
&lt;P&gt;Test the example data to show that the behavior is similar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely we only need 5 or 10&amp;nbsp; rows of data as examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need help creating data step of your data Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 16:25:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529734#M144787</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-24T16:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529748#M144794</link>
      <description>&lt;P&gt;I ended up fixing it with an alternative method. Thanks everyone!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 16:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529748#M144794</guid>
      <dc:creator>AshWynn87</dc:creator>
      <dc:date>2019-01-24T16:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529842#M144831</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257295"&gt;@AshWynn87&lt;/a&gt;&amp;nbsp;&amp;nbsp;Can you explain so others benefit from your findings?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529842#M144831</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-24T20:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529852#M144837</link>
      <description>&lt;P&gt;I used the same ods excel code in the initial post. I changed the code for assigning the variable by putting strip() around both vars included instead of around the whole thing.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here's the code for assigning a variable, in this case varname RE_1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 540px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26550i82F6F000BE3C0458/image-dimensions/540x27?v=v2" width="540" height="27" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the corresponding output for said variable:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 81px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26551iF0C7C7AB7494AEF4/image-dimensions/81x170?v=v2" width="81" height="170" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:34:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529852#M144837</guid>
      <dc:creator>AshWynn87</dc:creator>
      <dc:date>2019-01-24T20:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lines Wrapping in ODS Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529943#M144877</link>
      <description>&lt;P&gt;It looks like your data wasn't so clean after all and you should have applied the function &lt;FONT face="courier new,courier"&gt;compbl().&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 01:43:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Lines-Wrapping-in-ODS-Excel/m-p/529943#M144877</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-25T01:43:38Z</dc:date>
    </item>
  </channel>
</rss>

