New process of Word

T

tcebob

How can I open a new process of word for a document, instead of including that document in
an already-running process?

rs
 
C

Cindy M -WordMVP-

Hi Tcebob,
How can I open a new process of word for a document, instead of including that document in
an already-running process?
Dim wdApp as Word.Application
Dim doc as Word.Document

Set wdApp = New Word.Application
wdApp.Visible = True
wdApp.Activate
Set doc = wdApp.Documents.Add

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in the
newsgroup and not by e-mail :)
 
T

tcebob

Thanks, Cindy.

rs


: Hi Tcebob,
:
: > How can I open a new process of word for a document, instead of including that
document in
: > an already-running process?
: >
: Dim wdApp as Word.Application
: Dim doc as Word.Document
:
: Set wdApp = New Word.Application
: wdApp.Visible = True
: wdApp.Activate
: Set doc = wdApp.Documents.Add
:
: Cindy Meister
: INTER-Solutions, Switzerland
: http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
: http://www.word.mvps.org
:
: This reply is posted in the Newsgroup; please post any follow question or reply in the
: newsgroup and not by e-mail :)
:
 

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