<?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: export SAS output to excel in column and rows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367179#M275316</link>
    <description>&lt;P&gt;My SAS software information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/9432iDBE0ECAABEE42762/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2017 23:27:01 GMT</pubDate>
    <dc:creator>nazmul</dc:creator>
    <dc:date>2017-06-14T23:27:01Z</dc:date>
    <item>
      <title>export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367148#M275309</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following regression output in the SAS output. I want to export the output to excel in column and rows. I have attached the SAS output in the attached file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the followinf code to export the file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS TAGSETS.EXCELXP&lt;BR /&gt;file='F:worksas9regression.xls'&lt;BR /&gt;STYLE=minimal&lt;BR /&gt;OPTIONS ( Orientation = 'landscape'&lt;BR /&gt;FitToPage = 'yes'&lt;BR /&gt;Pages_FitWidth = '1'&lt;BR /&gt;Pages_FitHeight = '100' );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sas regression code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am not getting any useable excel data. Could you please give me the code to transfer the output to excel? I will really appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/9430i5DCEFA1950786BDB/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 21:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367148#M275309</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-14T21:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367160#M275310</link>
      <description>&lt;P&gt;What are you defining as usable Excel data?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of SAS are you using? If it's the latest ODS EXCEL may perform better. &amp;nbsp;But without knowing what you want that's impossible to answer. And what proc are you using, we can't test anything without more information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may may have to preformat your data but let's check the other options first.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367160#M275310</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-14T22:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367166#M275311</link>
      <description>Hi Reeza,&lt;BR /&gt;&lt;BR /&gt;I am using SAS 9.4 windows version.&lt;BR /&gt;&lt;BR /&gt;Hasan&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Wed, 14 Jun 2017 22:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367166#M275311</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-14T22:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367168#M275312</link>
      <description>&lt;P&gt;Hi Rezza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Eventus macro in sas to do event study from WRDS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My actual code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;/P&gt;&lt;P&gt;Eventus getdata;&lt;BR /&gt;Request insas=pcwork.weqdata1 datefmt=crsp autodate AllowMissingDate&lt;BR /&gt;nodividx shift1=-31 ndays=1 SP500;&lt;BR /&gt;Returns FAMAFRENCH outsas=pcwork.study1;&lt;/P&gt;&lt;P&gt;endrsubmit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eventus;&lt;/P&gt;&lt;P&gt;return&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367168#M275312</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-14T22:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367169#M275313</link>
      <description>&lt;P&gt;Assuming 9.4 TS1M3+ (you can check your version) try ODS Excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't work, post better sample code/data and illustrate what doesn't work for you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:54:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367169#M275313</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-14T22:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367175#M275314</link>
      <description>&lt;P&gt;I used the following code to perform fama frech 4 factor regression analysis in SAS. I am trying to export the SAS regression output to excel. I want the name in one column, regression coefficient in another column, t statistics in another column and all the independet variables in different rows.&amp;nbsp;Using ODS code, I am getting all the data in a singel cell of excel. But you know, having all data in a single cell of excel is of no use. My output excel file with ODS code looks like the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/9431i35444E084550E269/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS TAGSETS.EXCELXP&lt;BR /&gt;file='F:worksas9regression.xls'&lt;BR /&gt;STYLE=minimal&lt;BR /&gt;OPTIONS ( Orientation = 'landscape'&lt;BR /&gt;FitToPage = 'yes'&lt;BR /&gt;Pages_FitWidth = '1'&lt;BR /&gt;Pages_FitHeight = '100' );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rsubmit&lt;BR /&gt;inheritlib=(work=pcwork); * giving wrds access to work folder;&lt;BR /&gt;Eventus Monthly;&lt;BR /&gt;Request insas=pcwork.HAVE CusiPerm ID=id IDFmt=4.;&lt;BR /&gt;EvtStudy pre=0 post=12 EQUAL FamaFrench MOMENTUM CTPR outsas=pcwork.study1;&lt;BR /&gt;endrsubmit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 23:23:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367175#M275314</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-14T23:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367178#M275315</link>
      <description>&lt;P&gt;That's not ODS Excel, that's TAGSETS. Try ODS Excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, yes, you'll have to capture the ODS table and then use PROC PRINT to display that.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;http://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given that it's a WRDS and a custom macro I'm not sure how much of above will apply, but I (and most others) can't test anything either.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 23:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367178#M275315</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-14T23:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367179#M275316</link>
      <description>&lt;P&gt;My SAS software information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/9432iDBE0ECAABEE42762/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 23:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367179#M275316</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-14T23:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367202#M275317</link>
      <description>&lt;P&gt;Dear Reeza, ODS option is not working.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 01:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367202#M275317</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-15T01:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367206#M275318</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/143540"&gt;@nazmul&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Dear Reeza, ODS option is not working.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't know what that means.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Option 2 is listed above.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 02:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367206#M275318</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-15T02:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367908#M275319</link>
      <description>&lt;P&gt;Your output that you have shown appears to be generating a line of text from the macro. So that is what you get when you export the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may to dig into the macro code and find the part that is actually writing the output. From what you are showing you might find a data step with PUT statements. There should be a data set that is being used to create those PUT statments. That is the data set that you likely need to export. You may want to add appropriated labels to variables or other formatting options and then try Proc Print with an ODS destination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 23:02:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367908#M275319</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-16T23:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367957#M275320</link>
      <description>&lt;P&gt;Dear Ballardw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like your idea. But I am sorry to say that I am not this much efficient in SAS. Is it possible for you to explain the issue with an example perferably with a SAS dataset and relevant code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have contacted with Eventus representative. They could not give me any solution.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 17:15:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367957#M275320</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-17T17:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367959#M275321</link>
      <description>&lt;DIV&gt;Dear Reeza&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am sorry for being late in responding to your comment.I responded to your comment with my email. But I do not know why is is not showing up here. &amp;nbsp;Actually I applied all of your suggested methods. But I could not transfer the Sas output to excel. I think my problem is not a SAS problem. it may be a Eventus issue. So I have contacted with them. They could not give me a solution yet.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for your help. You helped me several times so far. I am glad to have u in this platform&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="yj6qo ajU"&gt;&lt;DIV class="ajR"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Jun 2017 17:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367959#M275321</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-17T17:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367963#M275322</link>
      <description>&lt;P&gt;I suspect there's an easy answer to this. Take a look at the macro docs or your work library. There may tables in the library with the data you need since they had to calculate it. It may need an option in the macro to keep the data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you could try ODS CSV.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;oDS CSV file='myoutput.csv';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code for eventus macro;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods csv close;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 18:42:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367963#M275322</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-17T18:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367980#M275323</link>
      <description>&lt;P&gt;Dear Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I talked to a representation of Eventus. She confirmed me that currently I cannot get eventus regression output in excel. They will employ a macro this summer to do the job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried ODS CSV but could not generate csv file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hasan&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 21:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367980#M275323</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-17T21:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367989#M275324</link>
      <description>Hi:&lt;BR /&gt;  Also checking whether this is a typo:&lt;BR /&gt;file='F:worksas9regression.xls'&lt;BR /&gt;I would expect to see a slash \ in the PATH name:&lt;BR /&gt;file='F:\worksas9regression.xls'&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sat, 17 Jun 2017 22:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367989#M275324</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-06-17T22:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367996#M275325</link>
      <description>&lt;P&gt;Dear Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put slash last time. But did not work. Thank you for being helpful.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 22:48:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/367996#M275325</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-17T22:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/368027#M275326</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/143540"&gt;@nazmul&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;What you're asking from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;"&lt;EM&gt;perferably with a SAS dataset and relevant code&lt;/EM&gt;" is what I'm missing from you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why don't you post a data step creating the SAS table structure you want to export to Excel. This will allow us to post working and tested code samples for what you're asking for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or are you asking for these reports you've posted pictures of to be written to Excel? If that's the case then most likely changes to the macro creating these reports would be required and you would have to post a working sample with all the code first (so a data step creating source sample data, the full macro code and the call to the macro with the sample source data creating the output - just something with fully works and which we can run in our environment to then modify and create the Excel output you're after).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2017 03:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/368027#M275326</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-06-18T03:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/368166#M275327</link>
      <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for coming forward to helping me. I found so many nice people like you in this platform. I think I do not want to spend time in trying to&amp;nbsp;convert the HTML sas output to excel output anymore. I have already spent one whole day on it. I am expressing my cordial gratitude to all of you for helping me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hasan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 06:10:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/368166#M275327</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2017-06-19T06:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: export SAS output to excel in column and rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/368306#M275328</link>
      <description>&lt;P&gt;Not ideal but you can copy and paste the HTML to an Excel file manually. It gets separated to cells automatically though you'll probably have to adjust some fields for now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-SAS-output-to-excel-in-column-and-rows/m-p/368306#M275328</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-19T13:19:54Z</dc:date>
    </item>
  </channel>
</rss>

