T
TMan
Hello,
I am familiar with the GetObject function in VB which will obtain a
reference to a running instance of an application. However, the GetObject
function is not specific in that instance (i.e. if there are multiple
instances of an application running, there is no way to guarantee which
instance will be obtained).
I am also familiar with the Tasks collection which is exposed in MS Word.
One can loop through these tasks and activate one if desired.
The above said, I was wondering if anyone knows how to:
A) Obtain a reference to a specific instance of an application
or;
B) Work with the tasks collection without using an instance of MS Word
(i.e. if I wanted to perform the same task from Excel, PowerPoint or
Outlook, how would I)?
Thanks & Regards,
Todd
I am familiar with the GetObject function in VB which will obtain a
reference to a running instance of an application. However, the GetObject
function is not specific in that instance (i.e. if there are multiple
instances of an application running, there is no way to guarantee which
instance will be obtained).
I am also familiar with the Tasks collection which is exposed in MS Word.
One can loop through these tasks and activate one if desired.
The above said, I was wondering if anyone knows how to:
A) Obtain a reference to a specific instance of an application
or;
B) Work with the tasks collection without using an instance of MS Word
(i.e. if I wanted to perform the same task from Excel, PowerPoint or
Outlook, how would I)?
Thanks & Regards,
Todd