GetObject(Process.Id) possible ?

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

Franck

Hi,
It's a bit tricky
I'm launching an Excel process with a RunAs like function, in order not
to launch it with ASPNET account but another one.
I'm not (and I can't be) using CreateObject("Excel.Application") to set
my object.

Does a function exist in order to get an object from a Process ID ?
I can't use MyXlObj = GetObject(,"Excel.Application") because several
Excel process could run.

But I know the Process ID I launched so...

Thks for help.
 
Back
Top