<?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 How to create different titles on Excel tabs based upon data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-different-titles-on-Excel-tabs-based-upon-data/m-p/203863#M267022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with distinct values of which I'd like to utilize in the Titles of&amp;nbsp; Proc Print.&amp;nbsp; A tab is generated for each strategy and in the titles I would like to have the Strategy, pricing, rundate etc.&amp;nbsp; I've put together the following code, of which no errors are reported.&amp;nbsp; The log shows the macro variable resolving to the correct information however, the final report shows only the information for the last loop( 1 strategy) on each tab instead of the 4 distinct strategies.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 16:32:02 GMT</pubDate>
    <dc:creator>JanetAlexander</dc:creator>
    <dc:date>2015-07-15T16:32:02Z</dc:date>
    <item>
      <title>How to create different titles on Excel tabs based upon data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-different-titles-on-Excel-tabs-based-upon-data/m-p/203863#M267022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with distinct values of which I'd like to utilize in the Titles of&amp;nbsp; Proc Print.&amp;nbsp; A tab is generated for each strategy and in the titles I would like to have the Strategy, pricing, rundate etc.&amp;nbsp; I've put together the following code, of which no errors are reported.&amp;nbsp; The log shows the macro variable resolving to the correct information however, the final report shows only the information for the last loop( 1 strategy) on each tab instead of the 4 distinct strategies.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 16:32:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-different-titles-on-Excel-tabs-based-upon-data/m-p/203863#M267022</guid>
      <dc:creator>JanetAlexander</dc:creator>
      <dc:date>2015-07-15T16:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different titles on Excel tabs based upon data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-different-titles-on-Excel-tabs-based-upon-data/m-p/203864#M267023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like your loop is writing &amp;amp;NUMCMP times to the same file. If you want to have a chance of this working have the&lt;/P&gt;&lt;P&gt;ODS tagsets statement appear before the %DO statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend explicitly closing ODS Tagset.excelxp within the macro as well after the last %end (or just before %mend).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 17:50:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-different-titles-on-Excel-tabs-based-upon-data/m-p/203864#M267023</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-07-15T17:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different titles on Excel tabs based upon data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-different-titles-on-Excel-tabs-based-upon-data/m-p/203865#M267024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; That worked.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 15:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-different-titles-on-Excel-tabs-based-upon-data/m-p/203865#M267024</guid>
      <dc:creator>JanetAlexander</dc:creator>
      <dc:date>2015-07-20T15:04:47Z</dc:date>
    </item>
  </channel>
</rss>

