<?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 Different CSV Outputs to Same Excel Sheet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Write-Different-CSV-Outputs-to-Same-Excel-Sheet/m-p/290202#M60027</link>
    <description>&lt;P&gt;I assume you have those CSV files as SAS datasets too, and you create the CSV from those? &amp;nbsp;If so (and you have SAS 9.4) you can use the libname excel to write to various parts of an Excel file:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/024-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/024-31.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally however, I would use VBA in Excel, to load the CSV files, and process them into the spreadsheet, if you have to use Excel at all.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2016 14:28:17 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-08-08T14:28:17Z</dc:date>
    <item>
      <title>Write Different CSV Outputs to Same Excel Sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Different-CSV-Outputs-to-Same-Excel-Sheet/m-p/290201#M60026</link>
      <description>&lt;P&gt;Hello Friends,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to automate an excel report in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have different CSV files being generated by SAS. Is it possible to dynamically write the rows of these files to a new excel sheet (single sheet). For example, &lt;STRONG&gt;rows 1-20 of csv file 1&lt;/STRONG&gt; written to &lt;STRONG&gt;rows 1-20 of Report.xlsx&lt;/STRONG&gt;,&lt;STRONG&gt; rows 1-10 of csv file 2&lt;/STRONG&gt; written to &lt;STRONG&gt;rows 22-40 of Report.xlsx&lt;/STRONG&gt; and so on. Bascially I need the ability to control where in the new Excel Sheet (Report.xlsx) the csv contents are written (control rows/cells/columns) etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your ideas would be really helpful. Thanks for your help!!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 14:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Different-CSV-Outputs-to-Same-Excel-Sheet/m-p/290201#M60026</guid>
      <dc:creator>sasmaverick</dc:creator>
      <dc:date>2016-08-08T14:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Write Different CSV Outputs to Same Excel Sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-Different-CSV-Outputs-to-Same-Excel-Sheet/m-p/290202#M60027</link>
      <description>&lt;P&gt;I assume you have those CSV files as SAS datasets too, and you create the CSV from those? &amp;nbsp;If so (and you have SAS 9.4) you can use the libname excel to write to various parts of an Excel file:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/024-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/024-31.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally however, I would use VBA in Excel, to load the CSV files, and process them into the spreadsheet, if you have to use Excel at all.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 14:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-Different-CSV-Outputs-to-Same-Excel-Sheet/m-p/290202#M60027</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-08T14:28:17Z</dc:date>
    </item>
  </channel>
</rss>

