<?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: The hyperlink doesn't work when upgrade to ODS Excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-hyperlink-doesn-t-work-when-upgrade-to-ODS-Excel/m-p/446891#M20642</link>
    <description>&lt;P&gt;Try changing the urlstring line in the class data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I change that line to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	urlstring=catt("#'Items'!A", cumsum);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the hyperlinks on the Summary sheet work.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Mar 2018 17:45:35 GMT</pubDate>
    <dc:creator>SuzanneDorinski</dc:creator>
    <dc:date>2018-03-19T17:45:35Z</dc:date>
    <item>
      <title>The hyperlink doesn't work when upgrade to ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-hyperlink-doesn-t-work-when-upgrade-to-ODS-Excel/m-p/445185#M20614</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code works when I used SAS 9.3 but once upgraded to 9.4, it doesn't work anymore for the hyperlink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code of SAS 9.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS noresults;&lt;BR /&gt;ODS listing close; /*Turn off the standard line printer destination*/&lt;BR /&gt;ods tagsets.ExcelXP path="&amp;amp;dir."&lt;/P&gt;&lt;P&gt;file="Report_&amp;amp;mon..xml"&lt;/P&gt;&lt;P&gt;proc report data=test;&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;compute urlstring/character length=200;&lt;BR /&gt;urlstring=catt("&amp;amp;dir.\Report_&amp;amp;mon..xml#Items!A",cumsum);&lt;BR /&gt;endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I use&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS noresults;&lt;BR /&gt;ODS listing close; /*Turn off the standard line printer destination*/&lt;BR /&gt;ods Excel file="&amp;amp;dir.\Report_&amp;amp;mon..xlsx";&lt;/P&gt;&lt;P&gt;proc report data=test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;compute urlstring/character length=200;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;urlstring=catt("&amp;amp;dir.\Report_&amp;amp;mon..xlsx#Items!A",cumsum);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;endcomp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It still create the report excel file but the link cann't open the Items&amp;nbsp;sheet/tab in Report excel file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even I change the code as :urlstring=catt("&amp;amp;dir.\Report_&amp;amp;mon..xlsx - Items!A",cumsum);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone help me?&amp;nbsp; Thanks.&lt;/SPAN&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 14:33:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-hyperlink-doesn-t-work-when-upgrade-to-ODS-Excel/m-p/445185#M20614</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2018-03-13T14:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: The hyperlink doesn't work when upgrade to ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-hyperlink-doesn-t-work-when-upgrade-to-ODS-Excel/m-p/445198#M20615</link>
      <description>&lt;P&gt;I create some&amp;nbsp;testing code here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data class;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;cumsum=age-10;&lt;BR /&gt;urlstring=catt("C:\temp\exam_report.xlsx - Items!A",cumsum);&lt;BR /&gt;run;&lt;BR /&gt;data classfit;&lt;BR /&gt;set sashelp.classfit;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ODS noresults;&lt;BR /&gt;ODS listing close; /*Turn off the standard line printer destination*/&lt;BR /&gt;ods Excel file="C:\temp\exam_report.xlsx"&lt;BR /&gt;style=minimal /*Styles to control appearance of output*/;&lt;BR /&gt;ods Excel options (Embedded_titles = 'yes' sheet_name= "Summary" frozen_rowheaders="8" frozen_headers= '2' absolute_column_width= '35,10,6,6,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10');&lt;BR /&gt;options missing=" ";&lt;BR /&gt;title j=l "Premilary Item Analysis -&amp;amp;mon. ";&lt;BR /&gt;proc report data=class NOWD&lt;BR /&gt;style(header)=[foreground=white background=teal];&lt;BR /&gt;Column urlstring name sex age height weight ;&lt;BR /&gt;define urlstring/ noprint ;&lt;BR /&gt;define Name/left display;&lt;BR /&gt;define sex/left display ;&lt;BR /&gt;define age/left display ;&lt;BR /&gt;define height/left display ;&lt;BR /&gt;define weight/left display ;&lt;BR /&gt;compute name;&lt;BR /&gt;call define("name",'URL',urlstring);&lt;BR /&gt;call define("name",'style','style={textdecoration=underline color=blue}');&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods Excel options ( Embedded_titles = 'yes' sheet_name= "Items" frozen_headers= '2' frozen_rowheaders="8" absolute_column_width= '25,10,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8');&lt;BR /&gt;title j=l color=blue height=10pt link="#'Summary'!A1" 'Click to return to Summary';&lt;BR /&gt;options missing=" ";&lt;BR /&gt;proc Report data=classfit NOWD&lt;BR /&gt;style(header)=[foreground=white background=teal];&lt;BR /&gt;Column name sex age weight height;&lt;BR /&gt;define Name/left display ;&lt;BR /&gt;define sex/left display ;&lt;BR /&gt;define age /left display ;&lt;BR /&gt;define height/left display ;&lt;BR /&gt;define weight/left display ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close; /* Close and release the xml file so it can be opened with Excel*/&lt;BR /&gt;ODS listing;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-hyperlink-doesn-t-work-when-upgrade-to-ODS-Excel/m-p/445198#M20615</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2018-03-13T15:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: The hyperlink doesn't work when upgrade to ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-hyperlink-doesn-t-work-when-upgrade-to-ODS-Excel/m-p/446891#M20642</link>
      <description>&lt;P&gt;Try changing the urlstring line in the class data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I change that line to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	urlstring=catt("#'Items'!A", cumsum);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the hyperlinks on the Summary sheet work.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 17:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-hyperlink-doesn-t-work-when-upgrade-to-ODS-Excel/m-p/446891#M20642</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2018-03-19T17:45:35Z</dc:date>
    </item>
  </channel>
</rss>

