<?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: pasting output in Word in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337978#M1995</link>
    <description>&lt;P&gt;Here's a simple example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf file = "c:\my_sas_output.rtf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data = sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'd then go to Windows explorer to your C drive and open the file. Change the path and file name to reflect what you really want, of course.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2017 19:55:46 GMT</pubDate>
    <dc:creator>collinelliot</dc:creator>
    <dc:date>2017-03-03T19:55:46Z</dc:date>
    <item>
      <title>pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337968#M1992</link>
      <description>&lt;P&gt;When I run my program, the output looks great in the browser. But when I paste the results into Word, the tables are very narrow and only fill about half the page. &amp;nbsp;How can I adjust this with SAS code so that the results are easier to read when pasted into Word. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 19:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337968#M1992</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2017-03-03T19:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337969#M1993</link>
      <description>&lt;P&gt;I would send my output to an RTF using the appropriate ODS statements. Then that file should have output that is far easier to put into Word.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf file = "YourPath\YourFileName.rtf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your SAS code to create output...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a lot you can do to customize your output to minimize how much you need to do manually after creating it, but that's another topic.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 19:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337969#M1993</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-03T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337970#M1994</link>
      <description>&lt;P&gt;Thanks. I am unfamiliar with that code? Where in the program does it go? Can you provide more details?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 19:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337970#M1994</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2017-03-03T19:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337978#M1995</link>
      <description>&lt;P&gt;Here's a simple example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf file = "c:\my_sas_output.rtf";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data = sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'd then go to Windows explorer to your C drive and open the file. Change the path and file name to reflect what you really want, of course.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 19:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337978#M1995</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-03T19:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337982#M1996</link>
      <description>&lt;P&gt;Thanks again - does that go at the very end of the code or up near the beginning where the files are brought in?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337982#M1996</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2017-03-03T20:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337986#M1997</link>
      <description>&lt;P&gt;Put the "sandwich" around whatever output you want to send the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every output generated between the "ods rtf..." and "ods rtf close;" will end up in the specified file. So if you put the opening of the sandwich at the the top of the code and the ods close at the bottom, all generated output will go into that RTF. That might be more than what you want, of course. Also note that you'll also get the default output, too, unless you close other ods destinations.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337986#M1997</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-03T20:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337990#M1998</link>
      <description>&lt;P&gt;Thank you, I was able to get that to work. However, I lost all the titles to my output tables. &amp;nbsp;Is there anyway to get those to print? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337990#M1998</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2017-03-03T20:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337995#M1999</link>
      <description>&lt;P&gt;Please show the code you ran.&lt;/P&gt;
&lt;P&gt;ODS RTF by default will place title statements in the HEADER area of a Word document, or footnotes into the Footer area.&lt;/P&gt;
&lt;P&gt;use option bodytitle to have the titles appear in the body of the document. Such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods rtf file="c:\path\myfile.rtf" BODYTITLE;&lt;/P&gt;
&lt;P&gt;&amp;lt;your report code here&amp;gt;&lt;/P&gt;
&lt;P&gt;ods rtf close;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337995#M1999</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-03T20:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337997#M2000</link>
      <description>&lt;P&gt;See ballardw's comment below. That should do what you want.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337997#M2000</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-03T20:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337999#M2001</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/337999#M2001</guid>
      <dc:creator>vicdicenzo</dc:creator>
      <dc:date>2017-03-03T20:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: pasting output in Word</title>
      <link>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/338000#M2002</link>
      <description>&lt;P&gt;You're welcome. This is just the tip of the iceberg in terms of what you can do with ODS, so keep at it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 20:33:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/pasting-output-in-Word/m-p/338000#M2002</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-03-03T20:33:06Z</dc:date>
    </item>
  </channel>
</rss>

