<?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 creating hyperlinks improperly in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/242943#M15055</link>
    <description>&lt;P&gt;There's still something going on that I don't understand, seems like a bug to me. The text that I want to write in the field still shows line breaks in Excel, when the input data has no line breaks or other non-printing characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1422iA226F07597A11F54/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Mixed_NoScrub_AA277_WFR_SplitAnal.gif" title="Mixed_NoScrub_AA277_WFR_SplitAnal.gif" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2016 14:49:00 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2016-01-12T14:49:00Z</dc:date>
    <item>
      <title>ODS EXCEL creating hyperlinks improperly</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/242811#M15042</link>
      <description>&lt;P&gt;I am trying to create a spreadsheet using ODS EXCEL. Everything comes out properly, except for the hyperlinks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, I am trying to use the HYPERLINK command to create the hyperlink and the text in the cell. (By the way, this works in ODS TAGSETS.EXCELXP). However, the B5 cell, the cell selected in the screen capture, does not recognize the text as a hyperlink. In fact, if you look at the text box (highlighted in red) where the actual text of the cell is displayed, the text is split across three lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1413i8E1FD74FFBDE6F9F/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Mixed_NoScrub_AA277_WFR_Split.gif" title="Mixed_NoScrub_AA277_WFR_Split.gif" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I manually remove the line breaks by editing the text box so all text is on one line, then the hyperlink works, as shown in the next screen capture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1414i26943EEFCFE86481/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Mixed_NoScrub_AA277_WFR_Split2.gif" title="Mixed_NoScrub_AA277_WFR_Split2.gif" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I fix this? Or is this a bug?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 21:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/242811#M15042</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2016-01-11T21:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL creating hyperlinks improperly</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/242849#M15046</link>
      <description>&lt;P&gt;Can you use STYLE to get it ?&lt;/P&gt;
&lt;P&gt;style={url='.........'}&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;" ~S={url='.......' } sqrt(Pixel......) "&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 02:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/242849#M15046</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-12T02:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL creating hyperlinks improperly</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/242943#M15055</link>
      <description>&lt;P&gt;There's still something going on that I don't understand, seems like a bug to me. The text that I want to write in the field still shows line breaks in Excel, when the input data has no line breaks or other non-printing characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1422iA226F07597A11F54/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Mixed_NoScrub_AA277_WFR_SplitAnal.gif" title="Mixed_NoScrub_AA277_WFR_SplitAnal.gif" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 14:49:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/242943#M15055</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2016-01-12T14:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL creating hyperlinks improperly</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/342831#M18169</link>
      <description>&lt;P&gt;I know this question is now over a year old but I have come across it a couple of times while looking into how to do hyperlinks. Just found what your problem would have been related to while reading this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sgf/2017/02/20/tips-for-using-the-ods-excel-destination/" target="_blank"&gt;http://blogs.sas.com/content/sgf/2017/02/20/tips-for-using-the-ods-excel-destination/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'When text wraps, a hard return is added automatically to the cell&amp;nbsp;' so you either need to set the width of the cell in which you want the hyperlink wide enough that it dosn't need to wrap or use the flow option to stop the automatic wrapping:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel &lt;SPAN&gt;file&lt;/SPAN&gt;=&lt;SPAN&gt;"c:&lt;SPAN&gt;\t&lt;/SPAN&gt;emp.xlsx"&lt;/SPAN&gt; &lt;SPAN&gt;options&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;flow=&lt;SPAN&gt;"tables"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is useful to someone...&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 03:30:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/342831#M18169</guid>
      <dc:creator>Dan_Miller</dc:creator>
      <dc:date>2017-03-21T03:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODS EXCEL creating hyperlinks improperly</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/342921#M18171</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/103317"&gt;@Dan_Miller&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I know this question is now over a year old but I have come across it a couple of times while looking into how to do hyperlinks. Just found what your problem would have been related to while reading this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sgf/2017/02/20/tips-for-using-the-ods-excel-destination/" target="_blank"&gt;http://blogs.sas.com/content/sgf/2017/02/20/tips-for-using-the-ods-excel-destination/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'When text wraps, a hard return is added automatically to the cell&amp;nbsp;' so you either need to set the width of the cell in which you want the hyperlink wide enough that it dosn't need to wrap or use the flow option to stop the automatic wrapping:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel &lt;SPAN&gt;file&lt;/SPAN&gt;=&lt;SPAN&gt;"c:&lt;SPAN&gt;\t&lt;/SPAN&gt;emp.xlsx"&lt;/SPAN&gt; &lt;SPAN&gt;options&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;flow=&lt;SPAN&gt;"tables"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this is useful to someone...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As I have switched jobs and no longer have my data to test this out, I would like to believe that this is the correct solution, but can't confirm it. Nevertheless, I thank you for the information, I have bookmarked this in case I run into this problem again.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 13:20:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-creating-hyperlinks-improperly/m-p/342921#M18171</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-03-21T13:20:21Z</dc:date>
    </item>
  </channel>
</rss>

