<?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: Multiple horizontal reports on same Excel sheet in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559656#M22764</link>
    <description>&lt;P&gt;I think your life will be easier if you trying using R with SAS. At least that way SAS program(s) are submitted which produce your results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll have to call R from within SAS (you can do that with SAS IML), pass your data to be written to R via SAS IML, and submit R code to R via SAS IML to write your data to the excel file. Use the openxlsx or XLConnect R packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't seen any other solution that preserves the notion of SAS pushing data to excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See this paper for example code to get you started:&lt;BR /&gt;&lt;A href="https://analytics.ncsu.edu/sesug/2017/SESUG2017_Paper-109_Final_PDF.pdf" target="_blank"&gt;https://analytics.ncsu.edu/sesug/2017/SESUG2017_Paper-109_Final_PDF.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2019 14:48:40 GMT</pubDate>
    <dc:creator>DWilson</dc:creator>
    <dc:date>2019-05-17T14:48:40Z</dc:date>
    <item>
      <title>Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537679#M22409</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This problem has been previously discussed (link below), however I wanted to open the topic again to check if there are any new suggestions/solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Generate-multiple-side-by-side-reports-in-singal-excel-sheet/td-p/338440" target="_self"&gt;Generate multiple(side by side) reports in singal excel sheet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have several proc reports which I want to ultimately have exported horizontally on the same Excel sheet. I have been generating them with proc report and writing to Excel with ODS Excel, however, the option "ODS start at=" can't be changed within the same sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In the solution referenced above, a work-around through R is used. Is it possible to solve this within SAS?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have been thinking for:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Prepare the reports in some kind of grid container with specific position of each report within the grid - then export the container.&lt;/LI&gt;&lt;LI&gt;Write the reports to an intermediary source and then export to Excel. This could be HTML or separate Excel sheets which are then combined in a single sheet.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any discussion and suggestions are highly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 14:03:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537679#M22409</guid>
      <dc:creator>KonstantinVasil</dc:creator>
      <dc:date>2019-02-22T14:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537705#M22410</link>
      <description>&lt;P&gt;My suggestion, as with anything like this, is to first decide on what software's functionality you want to use.&amp;nbsp; SAS Really isn't the tool for creating spreadsheets of anything more than basic standard.&amp;nbsp; To use all the functionality of Excel, use Excel.&amp;nbsp; It even has its own programming language - VBA, which is simple and you can do anything with it inside the Office suite.&lt;/P&gt;
&lt;P&gt;It should be very simple to dump out the data from SAS to CSV, thenhave some VBA code which loads the CSV data and processes it into the layout (can be done upfront with a template if you like) you have or want.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 14:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537705#M22410</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-22T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537728#M22411</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case I am dealing with a process which originates from SAS with high degree of automation. The only part of the process not yet automated is the final results export and formatting which I am currently implementing, in order to save unnecessary repetitive clicking or coding in Excel. From there onwards any additional manipulation (apart from results export) in external environment brings unnecessary complication and error risk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is just a pity for all the things you can achieve with SAS and ODS Excel such as cell coloring, borders and fonts and then you reach a point at which placing the reports at a particular layout on the same sheet is not possible...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short, I am looking for a solution within SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 15:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537728#M22411</guid>
      <dc:creator>KonstantinVasil</dc:creator>
      <dc:date>2019-02-22T15:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537738#M22412</link>
      <description>&lt;P&gt;Do your tables have a fixed structure or do they change? If they always have the same number of columns and rows, the trick I use is to create an Excel template that links all the data sets to where they need to go.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So one worksheet has the formatted values and links to source data sheets that are unformatted.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I copy the template and use SAS to export the data to the SOURCE worksheet which updates the formatted worksheet automatically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FCOPY will copy files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think PROC EXPORT or LIBNAME can be used to export to a specific range in Excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/189120"&gt;@KonstantinVasil&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case I am dealing with a process which originates from SAS with high degree of automation. The only part of the process not yet automated is the final results export and formatting which I am currently implementing, in order to save unnecessary repetitive clicking or coding in Excel. From there onwards any additional manipulation (apart from results export) in external environment brings unnecessary complication and error risk.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is just a pity for all the things you can achieve with SAS and ODS Excel such as cell coloring, borders and fonts and then you reach a point at which placing the reports at a particular layout on the same sheet is not possible...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In short, I am looking for a solution within SAS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:09:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537738#M22412</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-22T16:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537744#M22413</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tables have fixed structure and formatting. However, their formatting is also implemented in SAS before the exporting (including color coding etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In principle if there is some way to achieve the logic below from SAS, it should work:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Export formatted reports to same sheet vertically - file1\sheet1&amp;nbsp; (already done)&lt;/LI&gt;&lt;LI&gt;Take range X1:Y1 from file1\sheet1 and copy it to location Z1 on sheet2 - on the same or new file&lt;/LI&gt;&lt;LI&gt;Take range X2:Y2 from&amp;nbsp;file1\sheet1 and copy it to&amp;nbsp;location Z2 on sheet2 - on the file from 2 without overwriting!&lt;/LI&gt;&lt;LI&gt;Continue for remaining tables&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537744#M22413</guid>
      <dc:creator>KonstantinVasil</dc:creator>
      <dc:date>2019-02-22T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537745#M22414</link>
      <description>Yeah, this method means the styling has to happen in Excel not SAS. &lt;BR /&gt;&lt;BR /&gt;You can try the report writing interface instead. It does work with ODS Excel, but not sure how it will implement the styles.</description>
      <pubDate>Fri, 22 Feb 2019 16:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537745#M22414</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-22T16:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537747#M22415</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-AND-REPORT-WRITING-INTERFACE/td-p/282405" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-AND-REPORT-WRITING-INTERFACE/td-p/282405&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537747#M22415</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-22T16:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537842#M22417</link>
      <description>&lt;P&gt;Ah, then that is easy.&amp;nbsp; Output your reports to HTML or PDF, and provide them via a web front end.&amp;nbsp; I.e. drop the Excel part totally.&amp;nbsp; Or otherwise, invest in a reporting suite such as spotfire, tablueax, or one of those and provide the data that way.&amp;nbsp; Either way ditch Excel and your will find life much easier.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 20:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/537842#M22417</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-22T20:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/538914#M22448</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Redirecting the output to PDF brings other problems such as: rotated spanned rows using&amp;nbsp;&lt;EM&gt;tagattr="rotate:90"&lt;/EM&gt; not working...&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 09:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/538914#M22448</guid>
      <dc:creator>KonstantinVasil</dc:creator>
      <dc:date>2019-02-27T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/538990#M22449</link>
      <description>Hi: Typically, when you use TAGATTR as a style override, you are using it with ODS TAGSETS.EXCELXP or ODS EXCEL. The values for tagattr attributes are typically Microsoft-specific syntax for performing various cosmetic changes.&lt;BR /&gt; &lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 27 Feb 2019 14:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/538990#M22449</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-02-27T14:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/539024#M22450</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured that out about the microsoft specific syntax. So for example, is there an easy alternative for rotating text to 90 degrees, for example with escape modifier?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 15:35:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/539024#M22450</guid>
      <dc:creator>KonstantinVasil</dc:creator>
      <dc:date>2019-02-27T15:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/539033#M22451</link>
      <description>Hi:&lt;BR /&gt;  Not with PDF. As far as I know, the tagattr for rotate only applies to Excel. I am not sure it even works for RTF.&lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 27 Feb 2019 16:20:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/539033#M22451</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-02-27T16:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559655#M22763</link>
      <description>&lt;P&gt;Well, SAS "now" isn't the tool for creating complicated excel spreadsheets. It used to be when DDE was readily available. Without DDE its capabilities are seriously diminished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular, the push to use SAS on a grid with Linux means that VBA really isn't an option in terms of integrating SAS with calls to VBA which makes creating an integrated process to create the data with SAS and produce the tables with VBA annoying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 13:08:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559655#M22763</guid>
      <dc:creator>DWilson</dc:creator>
      <dc:date>2019-05-17T13:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559656#M22764</link>
      <description>&lt;P&gt;I think your life will be easier if you trying using R with SAS. At least that way SAS program(s) are submitted which produce your results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll have to call R from within SAS (you can do that with SAS IML), pass your data to be written to R via SAS IML, and submit R code to R via SAS IML to write your data to the excel file. Use the openxlsx or XLConnect R packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't seen any other solution that preserves the notion of SAS pushing data to excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See this paper for example code to get you started:&lt;BR /&gt;&lt;A href="https://analytics.ncsu.edu/sesug/2017/SESUG2017_Paper-109_Final_PDF.pdf" target="_blank"&gt;https://analytics.ncsu.edu/sesug/2017/SESUG2017_Paper-109_Final_PDF.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 14:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559656#M22764</guid>
      <dc:creator>DWilson</dc:creator>
      <dc:date>2019-05-17T14:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559784#M22770</link>
      <description>The XLSX package with R is good as well.</description>
      <pubDate>Fri, 17 May 2019 20:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559784#M22770</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-17T20:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple horizontal reports on same Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559793#M22772</link>
      <description>We had some issues with java on Linux and extraordinary amount of memory usage with xlconnect which requires java like the xlsx package. We got it to work generally but it requires each user to set java memory limits. Openxlsx is java free and avoided that issue.&lt;BR /&gt;</description>
      <pubDate>Fri, 17 May 2019 21:26:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Multiple-horizontal-reports-on-same-Excel-sheet/m-p/559793#M22772</guid>
      <dc:creator>DWilson</dc:creator>
      <dc:date>2019-05-17T21:26:45Z</dc:date>
    </item>
  </channel>
</rss>

