Opening a DOC with a template

P

Peter Rooney

I'm trying to issue a command from a program (FOXPRO) like this:

run ....winword.exe somedocument.doc /tsometemplate.dot

but I only get the document, not the macros in the template.
By reversing the parameters, I get the template but not the document.

Is there any way to combine template + document? K wamt to open a plain
ASCII text,and turn it into a DOC.
 
G

Graham Mayor

Word will open a text file as plain text, but based on normal.dot the
default template. It will become a word document when you save it as one. If
you wish to format the document with different fonts etc then you'll have to
do that after the document is loaded.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top