<?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: How to Create a SAS Macro variable with Hyper Link in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494744#M130442</link>
    <description>&lt;P&gt;Why do you want to put it in a macro variable?&amp;nbsp; Surely even the most changeable url will be mostly the same each time.&amp;nbsp; Just use macro variables for the bit that changes, it will be a lot easier.&lt;/P&gt;
&lt;PRE&gt;/* Will be a nightmare to work with */

%let var1=https://communities.sas.com/t5/forums/replypage/board-id/programming/message-id/130439;
%put &amp;amp;var1.;

/* As only message number changes */
%let var1=130439;
%put https://communities.sas.com/t5/forums/replypage/board-id/programming/message-id/&amp;amp;var1.;&lt;/PRE&gt;
&lt;P&gt;If you have lots of these, then put it in a dataset - macro is not a replacement for Base SAS.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 08:09:36 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-09-12T08:09:36Z</dc:date>
    <item>
      <title>How to Create a SAS Macro variable with Hyper Link</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494739#M130439</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just want to create macro variable with hyper link and&amp;nbsp;which will be used&amp;nbsp;to display in &amp;nbsp;ods PDF Output .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for ex&amp;nbsp;&lt;/P&gt;&lt;P&gt;var1 = Google.com &amp;nbsp;with hyper link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 07:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494739#M130439</guid>
      <dc:creator>Hari2</dc:creator>
      <dc:date>2018-09-12T07:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a SAS Macro variable with Hyper Link</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494744#M130442</link>
      <description>&lt;P&gt;Why do you want to put it in a macro variable?&amp;nbsp; Surely even the most changeable url will be mostly the same each time.&amp;nbsp; Just use macro variables for the bit that changes, it will be a lot easier.&lt;/P&gt;
&lt;PRE&gt;/* Will be a nightmare to work with */

%let var1=https://communities.sas.com/t5/forums/replypage/board-id/programming/message-id/130439;
%put &amp;amp;var1.;

/* As only message number changes */
%let var1=130439;
%put https://communities.sas.com/t5/forums/replypage/board-id/programming/message-id/&amp;amp;var1.;&lt;/PRE&gt;
&lt;P&gt;If you have lots of these, then put it in a dataset - macro is not a replacement for Base SAS.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 08:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494744#M130442</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-09-12T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a SAS Macro variable with Hyper Link</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494746#M130443</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but here, the thing is when I use the macro variable it replaces the text what ever we have given. But my requirement is, when I display URL through macro variable in in PDF, it should come as hyperlink (Means, in PDF when a link comes with underline, we can directly click on that to navigate). but currently macro variable is not coming with hyper link rather it just puts the required URL without Underscore.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 08:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494746#M130443</guid>
      <dc:creator>Hari2</dc:creator>
      <dc:date>2018-09-12T08:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create a SAS Macro variable with Hyper Link</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494748#M130444</link>
      <description>&lt;P&gt;There is a nice description and solution by Cyntia_sas &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-hyperlink/td-p/403620" target="_self"&gt;here&lt;/A&gt;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you may want to make your macro variable something like&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let SAScom=^S={font_size=9pt font_face='Arial Unicode MS' url='http://www.sas.com'};&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And you can use it like&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='^';
Title "&amp;amp;SAScom.This is SAS";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Sep 2018 09:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Create-a-SAS-Macro-variable-with-Hyper-Link/m-p/494748#M130444</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2018-09-12T09:13:30Z</dc:date>
    </item>
  </channel>
</rss>

