<?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 Creating reports in Excel in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Creating-reports-in-Excel/m-p/42011#M10891</link>
    <description>Does anyone if Proc report can create excel reports with the following conditions.&lt;BR /&gt;
&lt;BR /&gt;
1. Create one spreadhseet per name in final dataset.&lt;BR /&gt;
2. Create multiple tabs per workbook based certain criteria.&lt;BR /&gt;
3. Password protect each workbook.&lt;BR /&gt;
4. Within each worksheet create pagebreaks based on cetain criteria.&lt;BR /&gt;
5. Fit to one page.&lt;BR /&gt;
&lt;BR /&gt;
I currently use a sas macro to generate one spreadsheet per sales associate and then use Excel macro to format and create the multiple tabs as well as the page breaks, formatting etc.&lt;BR /&gt;
&lt;BR /&gt;
Any thoughts would be greatly appreciated!</description>
    <pubDate>Mon, 08 Jun 2009 15:43:16 GMT</pubDate>
    <dc:creator>SAS09</dc:creator>
    <dc:date>2009-06-08T15:43:16Z</dc:date>
    <item>
      <title>Creating reports in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Creating-reports-in-Excel/m-p/42011#M10891</link>
      <description>Does anyone if Proc report can create excel reports with the following conditions.&lt;BR /&gt;
&lt;BR /&gt;
1. Create one spreadhseet per name in final dataset.&lt;BR /&gt;
2. Create multiple tabs per workbook based certain criteria.&lt;BR /&gt;
3. Password protect each workbook.&lt;BR /&gt;
4. Within each worksheet create pagebreaks based on cetain criteria.&lt;BR /&gt;
5. Fit to one page.&lt;BR /&gt;
&lt;BR /&gt;
I currently use a sas macro to generate one spreadsheet per sales associate and then use Excel macro to format and create the multiple tabs as well as the page breaks, formatting etc.&lt;BR /&gt;
&lt;BR /&gt;
Any thoughts would be greatly appreciated!</description>
      <pubDate>Mon, 08 Jun 2009 15:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Creating-reports-in-Excel/m-p/42011#M10891</guid>
      <dc:creator>SAS09</dc:creator>
      <dc:date>2009-06-08T15:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating reports in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Creating-reports-in-Excel/m-p/42012#M10892</link>
      <description>Hi:&lt;BR /&gt;
  1) yes, using tagsets.excelxp  (using the NEWFILE= option)&lt;BR /&gt;
  2) yes, using tagsets.excelxp (the code below creates one sheet for every name in sashelp.class)&lt;BR /&gt;
  3) I do not believe this is possible with SAS&lt;BR /&gt;
  4) tagsets.excelxp has some printing/print area instructions&lt;BR /&gt;
  5) tagsets.excelxp has some printing/ print area instructions&lt;BR /&gt;
&lt;BR /&gt;
Look at the doc=help output in the SAS Log for 4 &amp;amp; 5 info. You may still need an Excel macro depending on the formatting you want/need to do.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc sort data=sashelp.class out=class;&lt;BR /&gt;
by name;&lt;BR /&gt;
run;&lt;BR /&gt;
         &lt;BR /&gt;
ods tagsets.excelxp file='testout.xml'&lt;BR /&gt;
      options(doc='Help');&lt;BR /&gt;
proc print data=class;&lt;BR /&gt;
  by name;&lt;BR /&gt;
run;&lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Mon, 08 Jun 2009 17:08:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Creating-reports-in-Excel/m-p/42012#M10892</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-06-08T17:08:11Z</dc:date>
    </item>
  </channel>
</rss>

