|
I'm not sure what you mean here Kevin: "When I simply file out to Word, I
lose the end of my record." I haven't run into this problem.
As far as DDE goes, what about using a predefined template:
put '[FileNew.Template="Normal.dot"]';
Here's a great MSWord DDE paper with lots of ideas to borrow from:
http://www2.sas.com/proceedings/sugi28/016-28.pdf
HTH & good luck!
Paul Choate
DDS Data Extraction
(916) 654-2160
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Kevin
Roland Viel
Sent: Thursday, February 10, 2005 1:16 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: WORD, DDE, format.font
Greetings,
First of all, thank you to the many people that have responded to my
questions concerning Tufte.
I need to write a DNA sequence to a text file. I have chosen *.doc over
*.txt since I can change font colors in Word. This I will do manually.
When I simply file out to Word, I lose the end of my record. I can
accomodate this by using 8 point font, for which I switched to DDE:
data _null_ ;
file word_sys ;
put '[EditSelectAll]' ;
put '[FormatFont.Font="Courier New"]' ;
put '[FormatFont.Points="8"]' ;
run ;
I submit this before writing my text. Word seems to switch back to my
default, Times New Roman 12 point. Can I overcome this or do I need to
alter Word directly?
Thanks in advance,
Kevin
Kevin Viel
Department of Epidemiology
Rollins School of Public Health
Emory University
Atlanta, GA 30322
|