<?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: String separated by return instead of space when exporting to Excel in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593716#M15563</link>
    <description>&lt;P&gt;Try some style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel ...&lt;/P&gt;
&lt;P&gt;proc report ....&lt;/P&gt;
&lt;P&gt;.........&lt;/P&gt;
&lt;P&gt;define xx / style={ tagattr="wrap:no"} ;&lt;/P&gt;
&lt;P&gt;..........&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 13:48:35 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2019-10-03T13:48:35Z</dc:date>
    <item>
      <title>String separated by return instead of space when exporting to Excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593340#M15507</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've come accross a very annoying problem when exporting a table to Excel using ODS.&lt;/P&gt;&lt;P&gt;Basically I have a column where two strings are longer than the rest of the strings, and contain two words separated by a space ("Current Medicine" and "Consultations Visits").&lt;/P&gt;&lt;P&gt;When I export to Excel, these to variables are no longer separate by a space but by a return so I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current&lt;/P&gt;&lt;P&gt;Medicine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Consultations&lt;/P&gt;&lt;P&gt;Visits&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are still in the same cell but it's still annoying because the stuff in which I use these tables in Excel needs it to be on the same line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this was clear, it wasn't very easy to explain...&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 12:30:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593340#M15507</guid>
      <dc:creator>polpel</dc:creator>
      <dc:date>2019-10-02T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: String separated by return instead of space when exporting to Excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593351#M15508</link>
      <description>&lt;P&gt;Posting data and the code you used to export the file will help us finding a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 12:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593351#M15508</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-10-02T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: String separated by return instead of space when exporting to Excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593364#M15509</link>
      <description>&lt;P&gt;ODS is trying to make your print out look pretty.&amp;nbsp; It is a printing utility and not a data transfer utility.&lt;/P&gt;
&lt;P&gt;You have two options.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First is to switch to using LIBNAME or PROC EXPORT to generate your Excel file as a straight data transfer.&lt;/P&gt;
&lt;P&gt;Second is to search for the option they added to ODS EXCEL that lets you tell it that you don't want it to insert line breaks into long strings.&amp;nbsp; Once you find that option make sure you are using a recent enough version of SAS that it has been implemented in your version.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 13:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593364#M15509</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-02T13:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: String separated by return instead of space when exporting to Excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593716#M15563</link>
      <description>&lt;P&gt;Try some style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel ...&lt;/P&gt;
&lt;P&gt;proc report ....&lt;/P&gt;
&lt;P&gt;.........&lt;/P&gt;
&lt;P&gt;define xx / style={ tagattr="wrap:no"} ;&lt;/P&gt;
&lt;P&gt;..........&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 13:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/String-separated-by-return-instead-of-space-when-exporting-to/m-p/593716#M15563</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-10-03T13:48:35Z</dc:date>
    </item>
  </channel>
</rss>

