<?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: Can we change .lst file into word document file? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295917#M61900</link>
    <description>&lt;P&gt;I would recommend switching to ODS RTF instead, by embedding your code between ODS RTF statements.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RTF files can be opened by Word.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='sample.rtf' style=meadow bodytitle;

title 'this is my sample output';
proc means data=sashelp.class;
run;

title 'this is a different table';
proc freq data=sashelp.cars;
table make*model/list;
run;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 01 Sep 2016 16:06:54 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-09-01T16:06:54Z</dc:date>
    <item>
      <title>Can we change .lst file into word document file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295900#M61892</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can we change .lst file into word document file? so that it is easier to share?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Archana&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 15:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295900#M61892</guid>
      <dc:creator>ArchanaSudhir</dc:creator>
      <dc:date>2016-09-01T15:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change .lst file into word document file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295912#M61897</link>
      <description>&lt;P&gt;One way, I'm sure not the only way, is&amp;nbsp; use ODS and set the output destination to html and from there you can read the file into MS-Word, MS-Excel, and a lot of other things.&amp;nbsp; It's two steps, but I do not seem to recall ever seeing .docx as an ODS&amp;nbsp;destination.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 16:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295912#M61897</guid>
      <dc:creator>DocSteve</dc:creator>
      <dc:date>2016-09-01T16:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change .lst file into word document file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295916#M61899</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods rtf file="C:\path\documentname.rtf";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* any procedures that generate list 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;Will send all of the procedures withing the ODS "sandwich" (ods rtf/ ods rtf close statements) to the specified file. Word reads RTF files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you have options to change the ODS style which controls font, fontsize, color and other appearance option as well as behviors for titles (in Word header or body of document) and others.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 16:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295916#M61899</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-01T16:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change .lst file into word document file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295917#M61900</link>
      <description>&lt;P&gt;I would recommend switching to ODS RTF instead, by embedding your code between ODS RTF statements.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RTF files can be opened by Word.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='sample.rtf' style=meadow bodytitle;

title 'this is my sample output';
proc means data=sashelp.class;
run;

title 'this is a different table';
proc freq data=sashelp.cars;
table make*model/list;
run;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Sep 2016 16:06:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-we-change-lst-file-into-word-document-file/m-p/295917#M61900</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-01T16:06:54Z</dc:date>
    </item>
  </channel>
</rss>

