<?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 Excel Sheet  Append 4 different countries in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-Sheet-Append-4-different-countries/m-p/2533#M1084</link>
    <description>Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I supposed have to generate the Report for 15 countries in one workbook. Each country should be in one work-sheet.&lt;BR /&gt;
write no m using &lt;BR /&gt;
Example:&lt;BR /&gt;
DATA _NULL_;&lt;BR /&gt;
   now=today();&lt;BR /&gt;
   ldate=now-30;&lt;BR /&gt;
   CALL SYMPUT("MDATE",PUT(ldate,monname8.));&lt;BR /&gt;
   CALL SYMPUT("YDATE",PUT(ldate,year4.));&lt;BR /&gt;
   CALL SYMPUT("dDATE",PUT(today(),WORDDATE18.));&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
title1 "&amp;amp;title - ESO SUMMARY" italic height=16pt;&lt;BR /&gt;
footnote1 'Analytics' justify=right;&lt;BR /&gt;
footnote2  "&amp;amp;ddate" justify=right;&lt;BR /&gt;
&lt;BR /&gt;
ods html file=" c:\path "  style=statdoc;&lt;BR /&gt;
&lt;BR /&gt;
%rpt;(Report generation for countries through Macro)&lt;BR /&gt;
&lt;BR /&gt;
ods html close;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
ods listing;</description>
    <pubDate>Mon, 19 Mar 2007 11:29:43 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-03-19T11:29:43Z</dc:date>
    <item>
      <title>Excel Sheet  Append 4 different countries</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-Sheet-Append-4-different-countries/m-p/2533#M1084</link>
      <description>Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I supposed have to generate the Report for 15 countries in one workbook. Each country should be in one work-sheet.&lt;BR /&gt;
write no m using &lt;BR /&gt;
Example:&lt;BR /&gt;
DATA _NULL_;&lt;BR /&gt;
   now=today();&lt;BR /&gt;
   ldate=now-30;&lt;BR /&gt;
   CALL SYMPUT("MDATE",PUT(ldate,monname8.));&lt;BR /&gt;
   CALL SYMPUT("YDATE",PUT(ldate,year4.));&lt;BR /&gt;
   CALL SYMPUT("dDATE",PUT(today(),WORDDATE18.));&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
title1 "&amp;amp;title - ESO SUMMARY" italic height=16pt;&lt;BR /&gt;
footnote1 'Analytics' justify=right;&lt;BR /&gt;
footnote2  "&amp;amp;ddate" justify=right;&lt;BR /&gt;
&lt;BR /&gt;
ods html file=" c:\path "  style=statdoc;&lt;BR /&gt;
&lt;BR /&gt;
%rpt;(Report generation for countries through Macro)&lt;BR /&gt;
&lt;BR /&gt;
ods html close;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
ods listing;</description>
      <pubDate>Mon, 19 Mar 2007 11:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-Sheet-Append-4-different-countries/m-p/2533#M1084</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-19T11:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet  Append 4 different countries</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-Sheet-Append-4-different-countries/m-p/2534#M1085</link>
      <description>Hi.&lt;BR /&gt;
&lt;BR /&gt;
If you have SAS 9 and Excel 2003 or higher, you can build XML files using ODS TAGSETS.EXCELXP ; this will give you the opportunity to use options like SHEET_INTERVAL=BYGROUP, and adding a BY country ; statement in your report program will automatically create a different worksheet for each country, no matter how many they are.&lt;BR /&gt;
Details &amp;amp; documentation can be found on :&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/topics/odsmarkup/" target="_blank"&gt;http://support.sas.com/rnd/base/topics/odsmarkup/&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/papers/sugi29/ExcelXML.pdf" target="_blank"&gt;http://support.sas.com/rnd/papers/sugi29/ExcelXML.pdf&lt;/A&gt; &lt;BR /&gt;
and the syntax can be displayed in your log running code like :&lt;BR /&gt;
ODS TAGSETS.EXCELXP OPTIONS(DOC="HELP") FILE = "c:\temp\nothing.xls" ;&lt;BR /&gt;
ODS TAGSETS.EXCELXP CLOSE ;&lt;BR /&gt;
&lt;BR /&gt;
Cheers.&lt;BR /&gt;
Olivier</description>
      <pubDate>Mon, 19 Mar 2007 12:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-Sheet-Append-4-different-countries/m-p/2534#M1085</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2007-03-19T12:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet  Append 4 different countries</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-Sheet-Append-4-different-countries/m-p/2535#M1086</link>
      <description>For ExcelXP-related programming, you can use my program:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://sas2themax.com/blogs/owner/archive/2007/02/04/SAS_2D00_to_2D00_Excel-via-XML-by-DelGobbo_2C00_-simplified_2100_.aspx" target="_blank"&gt;http://sas2themax.com/blogs/owner/archive/2007/02/04/SAS_2D00_to_2D00_Excel-via-XML-by-DelGobbo_2C00_-simplified_2100_.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
A detailed how-to article is posted here:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://sas2themax.com/blogs/owner/archive/2007/02/11/How-to-export-your-SAS-data-as-a-multi_2D00_sheet-Excel-XML-spreadsheet.aspx" target="_blank"&gt;http://sas2themax.com/blogs/owner/archive/2007/02/11/How-to-export-your-SAS-data-as-a-multi_2D00_sheet-Excel-XML-spreadsheet.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
You can set, edit, save, and reuse your ExcelXP options -- no need for an *.ini file, macros, or any other external files.&lt;BR /&gt;
&lt;BR /&gt;
I'd be happy to entertain any questions regarding the program. &lt;BR /&gt;
&lt;BR /&gt;
Regards, Audi &lt;BR /&gt;
&lt;BR /&gt;
E-mail: audi@sas2themax.com</description>
      <pubDate>Mon, 19 Mar 2007 15:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Excel-Sheet-Append-4-different-countries/m-p/2535#M1086</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-19T15:28:49Z</dc:date>
    </item>
  </channel>
</rss>

