<?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: Hyperlink in ODS Excel was truncated in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922629#M26530</link>
    <description>&lt;P&gt;I am confused now, i ran the same code on a different computer, seems works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data link;&lt;BR /&gt;name2='=Hyperlink("#''AA''!A6","Next &amp;gt;&amp;gt;")';&lt;BR /&gt;run;&lt;BR /&gt;ods excel file="hyperlinks.xlsx"&lt;BR /&gt;options(flow='data,table' autofilter='yes' embedded_titles='yes'&lt;BR /&gt;frozen_headers='yes' );&lt;BR /&gt;&lt;BR /&gt;ods excel options(sheet_interval="none" sheet_name="sheet" );&lt;BR /&gt;proc report noheader data=link out=b style(header)={verticalalign=middle} style(column)={verticalalign=top just=c asis=on BACKGROUNDCOLOR=white color=blue font=("Arial",8pt,bold)};&lt;BR /&gt;columns name2 ;&lt;BR /&gt;define name2/format =$200. style(column)={ width=1in} ;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but on the computer i met the issue, it show me the following error, when i click the white cell to see the value, it is empty, which should be&amp;nbsp; '=Hyperlink("#''AA''!A6","Next &amp;gt;&amp;gt;")' if executed correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if i remove "style(column)={ width=1in} ;" in proc report, the result is good. just the column width is wider than expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingliu178_1-1712089324123.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95099i742D8D3F634014B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jingliu178_1-1712089324123.png" alt="jingliu178_1-1712089324123.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingliu178_2-1712089350223.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95100iFEA39110ED6F4351/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jingliu178_2-1712089350223.png" alt="jingliu178_2-1712089350223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 20:25:14 GMT</pubDate>
    <dc:creator>jingliu178</dc:creator>
    <dc:date>2024-04-02T20:25:14Z</dc:date>
    <item>
      <title>Hyperlink in ODS Excel was truncated</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922354#M26527</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;data class;
set sashelp.class;
Display_Link='=HYPERLINK("https://communities.sas.com/","SAS Community")';
run;


  ods excel file="/usr/apps/sasdata/CAO/CAOSec/local_access/CAO_DropBox/Kiran/test/hyperlink.xlsx" style=statistical
      options( suppress_bylines='yes' sheet_interval='none' );
proc print data=class;
  run;

  ods excel close;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 20:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922354#M26527</guid>
      <dc:creator>jingliu178</dc:creator>
      <dc:date>2024-03-30T20:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in ODS Excel was truncated</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922355#M26528</link>
      <description>&lt;P&gt;the code below works,&lt;BR /&gt;data class;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;Display_Link='=HYPERLINK("&lt;A href="https://communities.sas.com/" target="_blank"&gt;https://communities.sas.com/&lt;/A&gt;","SAS Community")';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods excel file="/usr/apps/sasdata/CAO/CAOSec/local_access/CAO_DropBox/Kiran/test/hyperlink.xlsx" style=statistical&lt;BR /&gt;options( suppress_bylines='yes' sheet_interval='none' );&lt;BR /&gt;proc print data=class&lt;FONT color="#FF0000"&gt; style(data)={width=10}&lt;/FONT&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after adding the width, the hyperlink was truncated&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 20:07:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922355#M26528</guid>
      <dc:creator>jingliu178</dc:creator>
      <dc:date>2024-03-30T20:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in ODS Excel was truncated</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922359#M26529</link>
      <description>&lt;P&gt;Define exactly what you mean by "was truncated"?&lt;/P&gt;
&lt;P&gt;What you have created is supposed to show "SAS Community" in the spread sheet and link.&lt;/P&gt;
&lt;P&gt;By any chance is it that the column width in your Excel file just isn't wide enough to show the full text of "SAS Community"?&lt;/P&gt;
&lt;P&gt;I run your code and when writing to my local file path there is no problem. So I can't replicate any truncation to see what it may be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what does your log show?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 22:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922359#M26529</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-30T22:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in ODS Excel was truncated</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922629#M26530</link>
      <description>&lt;P&gt;I am confused now, i ran the same code on a different computer, seems works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data link;&lt;BR /&gt;name2='=Hyperlink("#''AA''!A6","Next &amp;gt;&amp;gt;")';&lt;BR /&gt;run;&lt;BR /&gt;ods excel file="hyperlinks.xlsx"&lt;BR /&gt;options(flow='data,table' autofilter='yes' embedded_titles='yes'&lt;BR /&gt;frozen_headers='yes' );&lt;BR /&gt;&lt;BR /&gt;ods excel options(sheet_interval="none" sheet_name="sheet" );&lt;BR /&gt;proc report noheader data=link out=b style(header)={verticalalign=middle} style(column)={verticalalign=top just=c asis=on BACKGROUNDCOLOR=white color=blue font=("Arial",8pt,bold)};&lt;BR /&gt;columns name2 ;&lt;BR /&gt;define name2/format =$200. style(column)={ width=1in} ;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but on the computer i met the issue, it show me the following error, when i click the white cell to see the value, it is empty, which should be&amp;nbsp; '=Hyperlink("#''AA''!A6","Next &amp;gt;&amp;gt;")' if executed correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if i remove "style(column)={ width=1in} ;" in proc report, the result is good. just the column width is wider than expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingliu178_1-1712089324123.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95099i742D8D3F634014B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jingliu178_1-1712089324123.png" alt="jingliu178_1-1712089324123.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingliu178_2-1712089350223.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95100iFEA39110ED6F4351/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jingliu178_2-1712089350223.png" alt="jingliu178_2-1712089350223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 20:25:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922629#M26530</guid>
      <dc:creator>jingliu178</dc:creator>
      <dc:date>2024-04-02T20:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in ODS Excel was truncated</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922634#M26531</link>
      <description>&lt;P&gt;Mysteries of why the "same" (version and subversion differences unknown) behaves differently for Microsoft products is a fact of life.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once upon a time I worked in shop that was running Office suite on Windows 95, 98 and another I don't remember. We had an application involved for converting Word documents to the file format a production print company wanted.&lt;/P&gt;
&lt;P&gt;Word documents with the same font going through the converter had interesting problems such a bullet lists appearing as bullets (the actual dot version) , right arrows or pointing hands depending on whose computer ran the conversion. Out of 15 computers in the office only one would render the document correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice that you have a note about correcting XML. XML files are basically text. You can change the XLSX extension on a file to ZIP (yes Windows will complain). Then access the XML pages in the ZIP file. You might see the problem text result that way IF you don't let Excel try&amp;nbsp; to fix the file.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 21:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlink-in-ODS-Excel-was-truncated/m-p/922634#M26531</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-04-02T21:02:25Z</dc:date>
    </item>
  </channel>
</rss>

