<?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: write a macro in excel and execute it in base sas in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/write-a-macro-in-excel-and-execute-it-in-base-sas/m-p/720810#M27739</link>
    <description>&lt;P&gt;Thank you so much,&amp;nbsp;&lt;A class="trigger-hovercard" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562" target="_blank"&gt;KurtBremser&lt;/A&gt;. I'll try your both ways.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 03:56:00 GMT</pubDate>
    <dc:creator>lc7033907</dc:creator>
    <dc:date>2021-02-22T03:56:00Z</dc:date>
    <item>
      <title>write a macro in excel and execute it in base sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/write-a-macro-in-excel-and-execute-it-in-base-sas/m-p/720760#M27735</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a question about executing macro which is stored in an excel file. For example, here is my macro:&lt;/P&gt;
&lt;PRE&gt;%macro ttl_fnt;
 title1  "Table 1" ;
 title2  "for height and weight of each group";
 footnote1   j=left "Study program 1"  
             j=right "Page 1 of 10";
 footnote2   j=left "Version &amp;amp;sysver"  
             j=right "Date: &amp;amp;sysdate9";
%mend ttl_fnt;
&lt;/PRE&gt;
&lt;P&gt;It's saved in excel and then I want to execute it in programming with base SAS. How to do it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't want to just put titles and footnotes in my sas, because I have several projects with same titles and footnotes except title1. Any suggestion is appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 18:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/write-a-macro-in-excel-and-execute-it-in-base-sas/m-p/720760#M27735</guid>
      <dc:creator>lc7033907</dc:creator>
      <dc:date>2021-02-21T18:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: write a macro in excel and execute it in base sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/write-a-macro-in-excel-and-execute-it-in-base-sas/m-p/720771#M27737</link>
      <description>&lt;P&gt;Save your code in&amp;nbsp;&lt;EM&gt;text&lt;/EM&gt; files with a .sas extension, and use the %include statement to use it in a SAS program. Or (as it is a macro), use the autocall facility to make it available without including.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 19:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/write-a-macro-in-excel-and-execute-it-in-base-sas/m-p/720771#M27737</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-21T19:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: write a macro in excel and execute it in base sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/write-a-macro-in-excel-and-execute-it-in-base-sas/m-p/720810#M27739</link>
      <description>&lt;P&gt;Thank you so much,&amp;nbsp;&lt;A class="trigger-hovercard" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562" target="_blank"&gt;KurtBremser&lt;/A&gt;. I'll try your both ways.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 03:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/write-a-macro-in-excel-and-execute-it-in-base-sas/m-p/720810#M27739</guid>
      <dc:creator>lc7033907</dc:creator>
      <dc:date>2021-02-22T03:56:00Z</dc:date>
    </item>
  </channel>
</rss>

