Get Object from process

  • Thread starter Thread starter Franck
  • Start date Start date
F

Franck

Hi,
Is it possible to set an Excel.Application object from its process ?
(Like MyXlobject = GetOjbectFromprocessId(MyProcess.Id))

Thks for help.
 
Just to say that i don't want to use the following code
oExcel = GetObject(, "Excel.Application")

As a user can have several Excel process running, I don't want to kill
the bad one !
 

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

Back
Top