Date: Fri, 19 Aug 2005 13:18:32 -0700
Reply-To: Philip Primak <pprimak@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Philip Primak <pprimak@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: transport ASCII table to Microsoft Word
In-Reply-To: <1124476095.743538.255910@g14g2000cwa.googlegroups.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi
I would like to make some additions to my previous posting:
let's say I have a SAS data set with just one variable TEXT, and I
have to create a report using data _null_, something simple like this:
data _null_;
file "C:\Output\myfile.txt";
put text;
run;
but instead of creating ASCII file "C:\Output\myfile.txt" I have
to create MS Word file "C:\Output\myfile.doc" I think that it can
be done through DDE.
One more thing: I cannot use MS word default settings, so I have
changed them (font name, font size, page orientation, page margins
etc.) and I have saved all these settings to MS Word template
"C:\Templates\mytemp.dot". So my questions would be:
1. How to create report using data _null_ and send it to the MS Word
(in general);
2. How to force MS Word to use "C:\Templates\mytemp.dot"
3. How to save the report to "C:\Output\myfile.doc"
I belive that all this can be also using ODS, but again how and how can
I use my settings (font name, font size, page orientation, page margins
etc.) then?
Thank you for your help
Philip Primak