<?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: Email from SAS with bold font in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254160#M48435</link>
    <description>&lt;P&gt;Quite entertaining and informative is this paper: &lt;A href="https://support.sas.com/rnd/papers/sgf07/Macros_Dont_Work.pdf" target="_blank"&gt;https://support.sas.com/rnd/papers/sgf07/Macros_Dont_Work.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The presentation is old but no less useful. Quoting is at the very heart of the macro facility and around since the beinning of times. I would advise to take a broader approach to learning macro and not focus too much now on this topic. It starts easy but can become complicated real fast. There are many good resources; let Google be your guide.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2016 14:10:22 GMT</pubDate>
    <dc:creator>jklaverstijn</dc:creator>
    <dc:date>2016-03-03T14:10:22Z</dc:date>
    <item>
      <title>Email from SAS with bold font</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/253978#M48378</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to send email from SAS to multiple recipients using a macro&amp;nbsp;and want to bold part of the sentence. However, it seems the "bold" does not work with a macro variable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;put &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'.Message1 { color: Red; font-size: 10pt; font-weight: bold; }'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;put &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;' &amp;lt;span class="Message1"&amp;gt; your facility is&amp;nbsp;selected &amp;lt;/span&amp;gt;'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;But this does not&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;put &lt;FONT color="#800080" face="Courier New" size="2"&gt;'.Message1 { color: Red; font-size: 10pt; font-weight: bold; }'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;put &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;' &amp;lt;span class="Message1"&amp;gt; &amp;amp;facilityname is&amp;nbsp;selected &amp;lt;/span&amp;gt;'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;when I run the macro, it does not replace the facilityname with the name, but keep &amp;amp;facilityname as bold type&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Any suggestion?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thank you&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/253978#M48378</guid>
      <dc:creator>ducdien</dc:creator>
      <dc:date>2016-03-02T21:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Email from SAS with bold font</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/253980#M48379</link>
      <description>&lt;P&gt;Looks like you have the macro variable reference &amp;amp;facilityname between single quotes. In that case the reference is not resolved. Use double quotes and you'll be fine. You will also have to double up on the existing double quotes to retain them between double quotes (still with me?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;put " &amp;lt;span class=""Message1""&amp;gt; &amp;amp;facilityname is selected &amp;lt;/span&amp;gt;";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck&lt;/P&gt;
&lt;P&gt;- Jan.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/253980#M48379</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-03-02T21:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Email from SAS with bold font</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254154#M48431</link>
      <description>&lt;P&gt;Thank you very much. It works.&amp;nbsp; Do you have any guidelines or links&amp;nbsp;on how and when to use&amp;nbsp;single and double quotes?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 13:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254154#M48431</guid>
      <dc:creator>ducdien</dc:creator>
      <dc:date>2016-03-03T13:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Email from SAS with bold font</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254155#M48432</link>
      <description>Thank you very much. It works.  Do you have any guidelines or links on how and when to use single and double quotes?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2016 13:59:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254155#M48432</guid>
      <dc:creator>ducdien</dc:creator>
      <dc:date>2016-03-03T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Email from SAS with bold font</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254160#M48435</link>
      <description>&lt;P&gt;Quite entertaining and informative is this paper: &lt;A href="https://support.sas.com/rnd/papers/sgf07/Macros_Dont_Work.pdf" target="_blank"&gt;https://support.sas.com/rnd/papers/sgf07/Macros_Dont_Work.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The presentation is old but no less useful. Quoting is at the very heart of the macro facility and around since the beinning of times. I would advise to take a broader approach to learning macro and not focus too much now on this topic. It starts easy but can become complicated real fast. There are many good resources; let Google be your guide.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 14:10:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254160#M48435</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-03-03T14:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Email from SAS with bold font</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254201#M48445</link>
      <description>Thank you!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2016 15:32:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Email-from-SAS-with-bold-font/m-p/254201#M48445</guid>
      <dc:creator>ducdien</dc:creator>
      <dc:date>2016-03-03T15:32:34Z</dc:date>
    </item>
  </channel>
</rss>

