Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2005

Tip: Looking for answers? Try searching our database.

Running two instances of Word at the same time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ConvexTech - 23 Sep 2005 14:14 GMT
Can this be done? I've got some VBA scripts to run on about 800+ MIF files,
and I want to run the simple ones in one instance, and the complex one in
another instance (it has to be babied).
Jezebel - 23 Sep 2005 23:33 GMT
Yes it can be done. Use CreateObject() or set x = new Word.Application

> Can this be done? I've got some VBA scripts to run on about 800+ MIF
> files,
> and I want to run the simple ones in one instance, and the complex one in
> another instance (it has to be babied).
ConvexTech - 26 Sep 2005 05:17 GMT
I guess I should have been more specific. I don't want to call a second word
app from a script; rather, I want to *start* the script from within the
second instance so that I can monitor it (i.e., step through the routine).

> Yes it can be done. Use CreateObject() or set x = new Word.Application
>
> > Can this be done? I've got some VBA scripts to run on about 800+ MIF
> > files,
> > and I want to run the simple ones in one instance, and the complex one in
> > another instance (it has to be babied).
Jezebel - 26 Sep 2005 10:29 GMT
Where do scripts come in? The method suggested will work from within Word
VBA:

Dim pApp2 as Word.Application
Set pApp2 = new word.application

>I guess I should have been more specific. I don't want to call a second
>word
[quoted text clipped - 8 lines]
>> > in
>> > another instance (it has to be babied).
ConvexTech - 04 Oct 2005 11:13 GMT
Again,

I don't want to call this routine from the script. I want to have two
instances of Word OPEN, running at the same time, both running different
scrupts independently, that I will be stepping through.

> Where do scripts come in? The method suggested will work from within Word
> VBA:
[quoted text clipped - 14 lines]
> >> > in
> >> > another instance (it has to be babied).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.