<?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: proc reports: side-by-side in the worksheet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453863#M114731</link>
    <description>&lt;P&gt;"&lt;SPAN&gt;no luck with xls." - this does not tell me anything.&amp;nbsp; I just ran the msoffice2k_x tagset, and your code, only changing the path and the filename to xls, and it works fine for me.&amp;nbsp; It does give a warning that the file format is not as expected, this is true as the file is actually a html page not an Excel file, but it is in a form that Excel can read, just click Yes to keep opening it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Excel is a really bad format for any type of endeavor, and getting data out to it is a real pain.&amp;nbsp; ods excel can create native xlsx files, and proc export can create native xls files, but all tagsets generate html or xml.&amp;nbsp; I would look at your process, do you really need to use Excel, and do you need to use it in that way?&amp;nbsp; Avoid it as much as possible.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The one other way is to create an Excel read macro, so you dump data out from SAS, then run a macro in Excel to read in the data and process as you want.&amp;nbsp; Anyways, the tagset works.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Apr 2018 09:33:41 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-04-13T09:33:41Z</dc:date>
    <item>
      <title>proc reports: side-by-side in the worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453605#M114645</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to see the two reports side by side in one excel sheet. I tried below code . It is creating excel file but when I try to open excel file&amp;nbsp;,it showing an error message saying " excel cannot open the file 'panels.xlsx' because the file format or file extension is not valid. verify that the file has not been corrupted and etc"&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.msoffice2k_x  file="H:\TEST\panels.xlsx"
      options(panelcols="3") style=normal;

  proc print data=sashelp.prdsale(obs=10);
  var actual predict country region;
  where country="CANADA";
  title "Canada Sales";
  run;

  proc print data=sashelp.prdsale(obs=10);
  var actual predict country region;
  where country="U.S.A.";
  title "USA Sales";
  run;

  proc print data=sashelp.prdsale(obs=10);
  var actual predict country region;
  where country="GERMANY";
  title "Germany Sales";
  run;

 ods tagsets.msoffice2k_x close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453605#M114645</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2018-04-12T15:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: proc reports: side-by-side in the worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453630#M114654</link>
      <description>&lt;P&gt;ods tagsets.msoffice2k_x file="H:\TEST\panels.xlsx"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;XLSX&amp;nbsp;is not tagsets.msoffice2k.&amp;nbsp; Name the file xls.&amp;nbsp; That may be one problem that Excel is expecting an XLSX file and your not creating one, but calling it that.&amp;nbsp; Also, you might want to give it a style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Me I would use either the latest version&amp;nbsp;which is tagsets.excel, or if you have an old SAS use excelxp.&amp;nbsp; Not sure if these have panelling though.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 16:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453630#M114654</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-12T16:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc reports: side-by-side in the worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453859#M114728</link>
      <description>&lt;P&gt;no luck with xls.&lt;/P&gt;&lt;P&gt;now we are using tagsets.excelxp&amp;nbsp; but no option "panelling" for this. There is an option called start_at but this option is also not working for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 09:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453859#M114728</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2018-04-13T09:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc reports: side-by-side in the worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453863#M114731</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;no luck with xls." - this does not tell me anything.&amp;nbsp; I just ran the msoffice2k_x tagset, and your code, only changing the path and the filename to xls, and it works fine for me.&amp;nbsp; It does give a warning that the file format is not as expected, this is true as the file is actually a html page not an Excel file, but it is in a form that Excel can read, just click Yes to keep opening it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Excel is a really bad format for any type of endeavor, and getting data out to it is a real pain.&amp;nbsp; ods excel can create native xlsx files, and proc export can create native xls files, but all tagsets generate html or xml.&amp;nbsp; I would look at your process, do you really need to use Excel, and do you need to use it in that way?&amp;nbsp; Avoid it as much as possible.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The one other way is to create an Excel read macro, so you dump data out from SAS, then run a macro in Excel to read in the data and process as you want.&amp;nbsp; Anyways, the tagset works.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 09:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-reports-side-by-side-in-the-worksheet/m-p/453863#M114731</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-13T09:33:41Z</dc:date>
    </item>
  </channel>
</rss>

