<?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: URL in spanned headers of proc report with ods excel in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854757#M42038</link>
    <description>&lt;P&gt;Then you could try first one .or&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; know the solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA SHOES;
SET SASHELP.SHOES;
RUN;

proc format;
value $ fmt
'EMPLACEMENT'='C:\TEMP\TEST.XLSX'
;
value $ color
'EMPLACEMENT'='blue'
;
value $ style
'EMPLACEMENT'='underline'
;
run;

ODS EXCEL FILE="c:\temp\Rapport.xlsx";

PROC REPORT DATA= SHOES nowd
style(header)={url=$fmt. color=$color. textdecoration=$style. };
COLUMN ("EMPLACEMENT" Region Product)
('AUTRES' Subsidiary Stores Sales Inventory Returns);
RUN;

ODS EXCEL CLOSE;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 20 Jan 2023 08:02:02 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-01-20T08:02:02Z</dc:date>
    <item>
      <title>URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854616#M42028</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know how to add a hyperlink on a spanned header in a proc report with ods excel. I tried the 2nd solution offered by this answer but it didn't work in my case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/URL-in-spanned-headers-of-proc-report/m-p/854369#M26153" target="_blank"&gt;Re: URL in spanned headers of proc report - SAS Support Communities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample code. I would like, by clicking on the '&lt;FONT size="2"&gt;EMPLACEMENT'&amp;nbsp;&lt;FONT size="3"&gt;header in the excel file, to open the TEST.xlsx file.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;%LET FICHIER = file:///\\repertoire\information\TEST.XLSX;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;DATA SHOES;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;SET SASHELP.SHOES;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;ODS EXCEL FILE="\\repertoire\information\Rapport.xlsx";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;PROC REPORT DATA= SHOES;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;COLUMN ('EMPLACEMENT' Region Product)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;('AUTRES' Subsidiary Stores Sales Inventory Returns);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;ODS EXCEL CLOSE;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 15:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854616#M42028</guid>
      <dc:creator>sasuser_8</dc:creator>
      <dc:date>2023-01-19T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854757#M42038</link>
      <description>&lt;P&gt;Then you could try first one .or&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; know the solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA SHOES;
SET SASHELP.SHOES;
RUN;

proc format;
value $ fmt
'EMPLACEMENT'='C:\TEMP\TEST.XLSX'
;
value $ color
'EMPLACEMENT'='blue'
;
value $ style
'EMPLACEMENT'='underline'
;
run;

ODS EXCEL FILE="c:\temp\Rapport.xlsx";

PROC REPORT DATA= SHOES nowd
style(header)={url=$fmt. color=$color. textdecoration=$style. };
COLUMN ("EMPLACEMENT" Region Product)
('AUTRES' Subsidiary Stores Sales Inventory Returns);
RUN;

ODS EXCEL CLOSE;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854757#M42038</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-01-20T08:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854828#M42039</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would like to link to a different file for EMPLACEMENT and AUTRES,&amp;nbsp;that's why I did not choose the 1st solution...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 13:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854828#M42039</guid>
      <dc:creator>sasuser_8</dc:creator>
      <dc:date>2023-01-20T13:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854904#M42046</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I found that only a slight modification of the posted program was needed in order to provide a different file for the AUTRES header, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1674247226338.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79575iF9E5DC1D6BCDFC45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1674247226338.png" alt="Cynthia_sas_0-1674247226338.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, when I open the Rapport.xlsx file, you can see that I can examine the hyperlink for the AUTRES header and the file that opens when I click will be the c:\temp\autres.xlsx file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1674247280406.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79576i5DE7835DB5E5476A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1674247280406.png" alt="Cynthia_sas_1-1674247280406.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So using 9.4M7, the format example worked for me for ODS Excel to specify 2 different files as the URL= value.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 20:42:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854904#M42046</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-01-20T20:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854918#M42047</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It works perfectly! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 21:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/854918#M42047</guid>
      <dc:creator>sasuser_8</dc:creator>
      <dc:date>2023-01-20T21:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855210#M42068</link>
      <description>&lt;P&gt;&amp;nbsp;In your example, if I replace the file &lt;EM&gt;autres.xlsx by autres.pdf, &lt;/EM&gt;can I specify the page number ? I already tried &lt;EM&gt;autres.pdf#page=3.&lt;/EM&gt; I saw that it works in a ods html but I don't know if it can work in ods excel...&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>Mon, 23 Jan 2023 20:36:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855210#M42068</guid>
      <dc:creator>sasuser_8</dc:creator>
      <dc:date>2023-01-23T20:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855251#M42072</link>
      <description>Hi: I think that would be a question for Tech Support. I have never tried to supply a link to a specific page in a PDF document from an Excel file. In my example, the link worked because all of the files being referenced were located on the same physical file system. What if the Excel file is down on a local machine but the PDF file is on a different server. I'm not confident that the HTML technique would work. So it's worth checking with Tech Support.&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 23 Jan 2023 22:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855251#M42072</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-01-23T22:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855329#M42083</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;By technical support, do you mean the contract my organization has witht sas company ?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 14:41:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855329#M42083</guid>
      <dc:creator>sasuser_8</dc:creator>
      <dc:date>2023-01-24T14:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: URL in spanned headers of proc report with ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855416#M42087</link>
      <description>Hi: It depends. Some companies want their SAS Admin to open tracks with SAS Tech Support. Other companies allow their employees to contact Tech Support directly. To open a track with Tech Support, fill out the form at this link: &lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt; and be sure to provide them with your site license number, a sample of your data and the code that they can test.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 24 Jan 2023 17:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/URL-in-spanned-headers-of-proc-report-with-ods-excel/m-p/855416#M42087</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-01-24T17:07:56Z</dc:date>
    </item>
  </channel>
</rss>

