<?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: Is it possible to hyperlink the email address in RTF using the SAS. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840068#M332164</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
have='Please email Chris at  (*ESC*){style [color=blue url="mailto:chris@sas.com"] chris@sas.com} .';
run;

ods rtf file='c:\temp\temp.rtf';
proc report data=have nowd style={outputwidth=80%};
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You didn't learn it from my previous code yet ！&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1666433586412.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76463iC702F5C3734A145F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1666433586412.png" alt="Ksharp_0-1666433586412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Oct 2022 10:12:43 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-10-22T10:12:43Z</dc:date>
    <item>
      <title>Is it possible to hyperlink the email address in RTF using the SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840006#M332135</link>
      <description>&lt;P&gt;I am not sure how it works or it possible or not&amp;nbsp; but will give a chance to explore myself.&lt;/P&gt;
&lt;P&gt;I have the Idea how to do hyperlinks for webpage or folder paths in rtf using SAS. Bu I am curious to know is hyperlinking the the email is possible? email is from outlook , if we using url how we can get it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Extension to first question, lets say I have an email in the middle of the string then can we make that as hyperlink? instead of whole string?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Image shows the clickable hyperlinks on email. Just wrote word to show.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1666379090692.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76451i6848AAB38C0B2CFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1666379090692.png" alt="SASuserlot_0-1666379090692.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your ideas.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 19:05:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840006#M332135</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2022-10-21T19:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to hyperlink the email address in RTF using the SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840012#M332137</link>
      <description>&lt;P&gt;I think you can do it with this technique from this SAS Note:&amp;nbsp;Usage Note 24051: &lt;A href="https://support.sas.com/kb/24/051.html" target="_self"&gt;In ODS RTF, how can I generate HTML hyperlinks?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;But instead of "https:" links, you would use "mailto:"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;filename out temp;
ods rtf file=out;

proc report data=sashelp.class;
  column name height;
  define name / order style(header)={url="mailto:teacher@class.com"};
run;

ods rtf close;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example output in Word:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisHemedinger_0-1666381919560.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76452iE14F30CE7D14D6ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisHemedinger_0-1666381919560.png" alt="ChrisHemedinger_0-1666381919560.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 19:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840012#M332137</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2022-10-21T19:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to hyperlink the email address in RTF using the SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840015#M332138</link>
      <description>&lt;P&gt;Yiyee..🧐 I learned something new .Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;.&amp;nbsp; It resolved my first question. How about lets say how we can do it in footnote and in middle of a strings.&lt;/P&gt;
&lt;P&gt;Ex: Footnote1 " Please email Chris at&amp;nbsp; &lt;FONT color="#0000FF"&gt;chris@sas.com&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;In the above I want to hyper link the&amp;nbsp; just email text instead of whole string ( if I use style option isn't it hyperlink whole string?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 20:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840015#M332138</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2022-10-21T20:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to hyperlink the email address in RTF using the SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840068#M332164</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
have='Please email Chris at  (*ESC*){style [color=blue url="mailto:chris@sas.com"] chris@sas.com} .';
run;

ods rtf file='c:\temp\temp.rtf';
proc report data=have nowd style={outputwidth=80%};
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You didn't learn it from my previous code yet ！&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1666433586412.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76463iC702F5C3734A145F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1666433586412.png" alt="Ksharp_0-1666433586412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 10:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840068#M332164</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-10-22T10:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to hyperlink the email address in RTF using the SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840107#M332186</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;. yes I learned using the style option from your previous code. But I was trying for email where I was not sure what to use instead of 'http' in url option, I was trying with 'mail' which didn't work, so I got learned from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp; and you the option should be ' mailto" , so I was able to get what I was expecting. Thank you for your time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 18:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-hyperlink-the-email-address-in-RTF-using-the/m-p/840107#M332186</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2022-10-22T18:18:59Z</dc:date>
    </item>
  </channel>
</rss>

