<?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: ODS to generate multi sheet excel sheet via proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151493#M11670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your patience and support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm bit confused with your term 'print that to ods tagsets'. May I request you to expand your language in SAS code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@RW9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the document, I did tried the code 'ADDING NEW SPREADSHEET AND DATA' and I got the error ERROR: The Excel engine cannot be found since I installed SAS 9.3 with 32-bit in 64-bit machine. Any suggestions to overcome this error? Also it seems this document do not cover the code to produce excel sheet in a named range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 11:29:55 GMT</pubDate>
    <dc:creator>RamKumar</dc:creator>
    <dc:date>2014-11-03T11:29:55Z</dc:date>
    <item>
      <title>ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151485#M11662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using below codes to generate excel sheets via proc report. (SAS EG 5.1 MS Excel 2010)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML FILE='/data/indirect_report.xls'&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;proc report data=rpt.&amp;amp;clint._All_inDir_CbRpt&amp;nbsp; nowd missing out=work.indirect_report_all ;&lt;/P&gt;&lt;P&gt;title1 'Indirect responses by product offers' ;&lt;/P&gt;&lt;P&gt;columns .....&lt;/P&gt;&lt;P&gt;define ....&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML FILE='/data/direct_report.xls'&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;proc report data=rpt.&amp;amp;clint._All_Dir_CbRpt&amp;nbsp; nowd missing out=work.indirect_report_all ;&lt;/P&gt;&lt;P&gt;title1 'Indirect responses by product offers' ;&lt;/P&gt;&lt;P&gt;columns .....&lt;/P&gt;&lt;P&gt;define ....&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML FILE='/data/summary_report.xls'&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;proc report data=rpt.&amp;amp;clint._All_summary_CbRpt&amp;nbsp; nowd missing out=work.indirect_report_all ;&lt;/P&gt;&lt;P&gt;title1 'Indirect responses by product offers' ;&lt;/P&gt;&lt;P&gt;columns .....&lt;/P&gt;&lt;P&gt;define ....&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I wish to generate the report in a single spreadsheet with multiple tabs instead of multiple excel sheets.e.g 3 ods statement with proc report should produce reports in single worksheet with 3 tabs instead of 3 excel sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 09:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151485#M11662</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-10-31T09:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151486#M11663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html"&gt;Base SAS: Demo: ExcelXP Tagset and Microsoft Excel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how to do it with Excel tagsets&lt;/P&gt;&lt;P&gt;Save the output file as .xml, so it is clear to all applications what kind of data is inside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 09:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151486#M11663</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-10-31T09:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151487#M11664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise how to generate the excel sheet with all the reports in a single tab? e.g. If I use 3 proc report then report should be displayed in a single tab. All the reports should be combined horizontally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 06:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151487#M11664</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-11-03T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151488#M11665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's done with the sheet_interval parameter (&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html"&gt;Base SAS: Quick Reference for TAGSETS.EXCELXP Tagset&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;If set to none, all output lands in the currently assigned Tab. Other values will cause automatic new tabs per procedure or by group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 07:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151488#M11665</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-03T07:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151489#M11666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already tried with the option sheet interval=none and sheet name='summary' for all my 3 proc report, but it is producing excel sheet in three different tabs called summary1,summary2 and summary3 whereas I need all the three reports merged into one tab horizontally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 08:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151489#M11666</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-11-03T08:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151490#M11667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use one ods tagsets.excelxp statement file='.....' style=.... (sheet_interval='none'); , run your three reports, and then do ods tagsets.excelxp close; you get one tab in your worksheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:01:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151490#M11667</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-03T09:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151491#M11668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really want the reports side by side, you will have to generate a data set first that contains the reports, and then print that to ods tagsets.&lt;/P&gt;&lt;P&gt;So you need to use ods first to output the reports into tables (watch out for different columns names!), merge these&lt;/P&gt;&lt;P&gt;tables sequentially and then use ods tagsets.&lt;/P&gt;&lt;P&gt;IMO, it is easier to do a cut&amp;amp;paste in Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151491#M11668</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-03T09:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151492#M11669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not create (and this isn't my preferred option) an empty spreadsheet.&amp;nbsp; Setup the tabs as you want, formatted etc. then use the libname statement to insert the data into those named ranges.&amp;nbsp; Example: &lt;A class="active_link" href="http://www2.sas.com/proceedings/sugi31/024-31.pdf"&gt;http://www2.sas.com/proceedings/sugi31/024-31.p&lt;/A&gt;&lt;A class="active_link" href="http://www2.sas.com/proceedings/sugi31/024-31.pdf"&gt;df&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 09:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151492#M11669</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-03T09:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151493#M11670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your patience and support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm bit confused with your term 'print that to ods tagsets'. May I request you to expand your language in SAS code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@RW9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the document, I did tried the code 'ADDING NEW SPREADSHEET AND DATA' and I got the error ERROR: The Excel engine cannot be found since I installed SAS 9.3 with 32-bit in 64-bit machine. Any suggestions to overcome this error? Also it seems this document do not cover the code to produce excel sheet in a named range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 11:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151493#M11670</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-11-03T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS to generate multi sheet excel sheet via proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151494#M11671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Print your reports into tables like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output report=work.output1;&lt;/P&gt;&lt;P&gt;proc report&lt;/P&gt;&lt;P&gt;&amp;nbsp; data=incidents (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where=(startweek ge &amp;amp;week - 5)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;column startweek Low High Critical;&lt;/P&gt;&lt;P&gt;define startweek/order;&lt;/P&gt;&lt;P&gt;define Low/display;&lt;/P&gt;&lt;P&gt;define High/display;&lt;/P&gt;&lt;P&gt;define Critical/display;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods output close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will write a table with columns named like the original column names.&lt;/P&gt;&lt;P&gt;Now suppose a similar report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output report=work.output2 (rename=(&lt;/P&gt;&lt;P&gt;&amp;nbsp; startweek=startweek1&lt;/P&gt;&lt;P&gt;&amp;nbsp; low=low1&lt;/P&gt;&lt;P&gt;&amp;nbsp; high=high1&lt;/P&gt;&lt;P&gt;&amp;nbsp; critical=critical1&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;proc report&lt;/P&gt;&lt;P&gt;&amp;nbsp; data=incidents2 (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where=(startweek ge &amp;amp;week - 5)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;column startweek Low High Critical;&lt;/P&gt;&lt;P&gt;define startweek/order;&lt;/P&gt;&lt;P&gt;define Low/display;&lt;/P&gt;&lt;P&gt;define High/display;&lt;/P&gt;&lt;P&gt;define Critical/display;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods output close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can merge them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data all;&lt;/P&gt;&lt;P&gt;merge&lt;/P&gt;&lt;P&gt;&amp;nbsp; output1&lt;/P&gt;&lt;P&gt;&amp;nbsp; output2&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have the numbers in one table, side by side, after that do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="......";&lt;/P&gt;&lt;P&gt;proc print data=all noobs;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using proc report in the final step, you may be able to add style definitions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-to-generate-multi-sheet-excel-sheet-via-proc-report/m-p/151494#M11671</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-11-03T12:15:51Z</dc:date>
    </item>
  </channel>
</rss>

