Get an Office Application Instance from a ProcessID?

T

TMan

Hey Folks,

I posed this question in some other groups but did not get an answer.

GetObject / CreateObject will give automation control to the application but
not a specific instance.

Upon using the various APIs to enumerate processes, I can identify and get
the process ID of specific Office Suite application instances.

The above said, once I have the process ID, does anyone know how to gain
automation control of the application instance as Word Application object?

Thanks & Regards,

Todd
 

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