Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming,microsoft.public.vb.winapi,microsoft.public.win32.programmer.kernel
|
|||
|
|||
Visible Instances of an Application
Hello All,
I am building something that needs to grab a certain instance of MS Excel. Unfortunately, "GetObject" randomly chooses an instance and, therefore, is not appropriate / robust enough by itself. In pseudo code, what I need is below: For each pProcess in Processes If instr(pProcess.Name, "Excel") 0 And pProcess.Visible = True Then Set MyAppInstance = pProcess.Instance Exit For End If Next pProcess Thanks & Regards, TC |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Application.Visible = False | Setting up and Configuration of Excel | |||
Application.Visible = False | Excel Discussion (Misc queries) | |||
Runnig Excel without visible application | Excel Programming | |||
Application.visible help | Excel Programming | |||
Linked Excel Chart within hidden Word Application Visible | Excel Programming |